diff --git a/charts/openmetadata/templates/_helpers.tpl b/charts/openmetadata/templates/_helpers.tpl index 6cf7f8f..2aa40f9 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 }}