From 330269fcd7a4994e4fefc6a1c0b3000cb4bd629b Mon Sep 17 00:00:00 2001 From: mgorsk1 Date: Thu, 19 Oct 2023 10:10:05 +0200 Subject: [PATCH] :tada: Init --- charts/openmetadata/templates/_helpers.tpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/openmetadata/templates/_helpers.tpl b/charts/openmetadata/templates/_helpers.tpl index 6cf7f8fb..2aa40f9f 100644 --- a/charts/openmetadata/templates/_helpers.tpl +++ b/charts/openmetadata/templates/_helpers.tpl @@ -315,6 +315,7 @@ OpenMetadata Configurations Environment Variables*/}} {{- end }} {{- end }} {{- end }} +{{- end }} - name: ELASTICSEARCH_HOST value: "{{ .Values.openmetadata.config.elasticsearch.host }}" - name: SEARCH_TYPE @@ -340,6 +341,7 @@ OpenMetadata Configurations Environment Variables*/}} {{- end }} {{- end }} {{- end }} +{{- end }} {{- if .Values.openmetadata.config.elasticsearch.trustStore.enabled }} - name: ELASTICSEARCH_TRUST_STORE_PATH value: {{.Values.openmetadata.config.elasticsearch.trustStore.path }} @@ -396,6 +398,7 @@ OpenMetadata Configurations Environment Variables*/}} key: {{ .password.secretKey }} {{- end }} {{- end }} +{{- end }} - name: PIPELINE_SERVICE_CLIENT_VERIFY_SSL value: "{{ .Values.openmetadata.config.pipelineServiceClientConfig.verifySsl }}" - name: PIPELINE_SERVICE_CLIENT_HOST_IP @@ -412,7 +415,7 @@ OpenMetadata Configurations Environment Variables*/}} {{- if .Values.openmetadata.config.secretsManager.additionalParameters.enabled }} - name: OM_SM_REGION value: "{{ .Values.openmetadata.config.secretsManager.additionalParameters.region }}" -{{- if .Values.openmetadata.config.secretsManager.additionalParameters.accessKeyId.secretRef }} +{{- if .Values.openmetadata.config.secretsManager.additionalParameters.accessKeyId.secretRef -}} {{- with .Values.openmetadata.config.secretsManager.additionalParameters.accessKeyId }} - name: OM_SM_ACCESS_KEY_ID valueFrom: @@ -498,4 +501,5 @@ OpenMetadata Configurations Environment Variables*/}} value: "{{ .Values.openmetadata.config.web.permissionPolicy.enabled }}" - name: WEB_CONF_PERMISSION_POLICY_OPTION value: "{{ .Values.openmetadata.config.web.permissionPolicy.option }}" + {{- end }}