Skip to content
Snippets Groups Projects
Commit a6d6085d authored by Danylo Vanin (EPAM)'s avatar Danylo Vanin (EPAM) Committed by Oleksandr Kosse (EPAM)
Browse files

[GONRG-5813] Disable policy by default

parent b801008f
Branches
Tags
1 merge request!363[GONRG-5813] Disable policy by default
......@@ -45,6 +45,7 @@ First you need to set variables in **values.yaml** file using any code editor. S
**redisSearchHost** | redis search host address | string | `redis-search-master` | yes
**policyId** | policeId from ex `${POLICY_HOST}/api/policy/v1/policies` | string | `search` | yes
**securityHttpsCertificateTrust** | Elastic client connection uses TrustSelfSignedStrategy(), if it is `true` | bool | `true` | yes
**servicePolicyEnabled** | Enables search service integration with policy service | bool | `false` | yes
**googleAudiences** | your GCP client ID | string | - | yes
> googleAudiences: If you are connected to GCP console with `gcloud auth application-default login --no-browser` from your terminal, you can get your client_id using the command:
......
......@@ -16,6 +16,7 @@ data:
POLICY_HOST: "{{ .Values.data.policyHost }}"
POLICY_ID: "{{ .Values.data.policyId }}"
INDEXER_BASE_HOST: "{{ .Values.data.indexerHost }}"
SERVICE_POLICY_ENABLED: "{{ .Values.data.servicePolicyEnabled }}"
{{- if not .Values.conf.onPremEnabled }}
GOOGLE_AUDIENCES: "{{ .Values.data.googleAudiences }}"
{{- end }}
......@@ -14,6 +14,7 @@ data:
indexerHost: "http://indexer"
policyId: "osdu.instance.search"
securityHttpsCertificateTrust: "true"
servicePolicyEnabled: false
# gcp
googleAudiences: ""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment