Skip to content
Snippets Groups Projects
Commit 1ec0cce1 authored by Aliaksandr Ramanovich (EPAM)'s avatar Aliaksandr Ramanovich (EPAM)
Browse files

gc: add tls flags for partition template

parent 79f4a169
No related branches found
No related tags found
1 merge request!627gc: add tls flags for partition template
......@@ -115,6 +115,7 @@ First you need to set variables in **values.yaml** file using any code editor. S
**data.partitionNamespace** | datastore namespace where partition will store the data | string | `partition` | yes
**data.datafierSa** | datafier service account | string | `datafier` | yes
**data.indexerAugmenterEnabled** | enable indexer Augmenter | string | `false` | no
**data.elasticHttps** | Configuration of the communication protocol for search and indexer services | boolean | - | yes |
### Deployment variables
......
......@@ -29,3 +29,4 @@ data:
{{- end }}
SERVICE_ACCOUNT: {{ printf "%s@%s.iam.gserviceaccount.com" .Values.data.datafierSa .Values.data.projectId | quote }}
DATABASE_ID: "{{ $databaseId }}"
ELASTIC_HTTPS: {{ .Values.data.elasticHttps | quote}}
......@@ -21,6 +21,7 @@ data:
edsEnabled: "false"
autocompleteEnabled: "true"
databaseId: ""
elasticHttps: ""
# deployments
requestsCpu: "5m"
requestsMemory: "350Mi"
......
......@@ -37,6 +37,7 @@ gc-deploy: # reuse common deploy job for test deployment
--set istio.sidecarInject=false
--set data.edsEnabled=true
--set data.databaseId=\(default\)
--set data.elasticHttps=true
GC_SA_EMAIL: $GC_SA_GKE_EMAIL
gc-test:
......@@ -83,6 +84,7 @@ gc-verified-deploy: # verified deploy after tests
GC_HELM_SETS: >-
--set data.edsEnabled=true
--set data.databaseId=\(default\)
--set data.elasticHttps=true
# Dev2 jobs
gc-dev2-deploy: # reuse common deploy job for test deployment
......@@ -139,6 +141,7 @@ gc-dev2-verified-deploy: # verified deploy after tests
GC_HELM_SETS: >-
--set data.edsEnabled=true
--set data.databaseId=\(default\)
--set data.elasticHttps=true
gc-preship-deploy:
extends: .gc-preship-variables
......@@ -151,3 +154,4 @@ gc-preship-deploy:
--set global.dataPartitionId=m19
--set data.edsEnabled=true
--set data.databaseId=\(default\)
--set data.elasticHttps=true
......@@ -112,6 +112,14 @@ gc_partition_data() {
"elasticsearch.8.password": {
"sensitive": true,
"value": "ELASTIC_PASS${PARTITION_SUFFIX}"
},
"elasticsearch.8.https": {
"sensitive": false,
"value": "${ELASTIC_HTTPS}"
},
"elasticsearch.8.tls": {
"sensitive": false,
"value": "${ELASTIC_HTTPS}"
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment