Skip to content

Commit f5188f0

Browse files
fix: the elastic auth is missing for orchestration when using the global creds. this fixes that issue (#4093)
1 parent 5895c04 commit f5188f0

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

charts/camunda-platform-8.8/templates/orchestration/statefulset.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,36 @@ spec:
8181
"config" .Values.global.opensearch.auth
8282
) | nindent 12 }}
8383
{{- end }}
84+
{{- if and .Values.global.elasticsearch.enabled (eq (include "camundaPlatform.hasSecretConfig" (dict "config" .Values.global.elasticsearch.auth)) "true") }}
85+
{{- include "camundaPlatform.emitEnvVarFromSecretConfig" (dict
86+
"envName" "CAMUNDA_OPERATE_ZEEBE_ELASTICSEARCH_PASSWORD"
87+
"config" .Values.global.elasticsearch.auth
88+
) | nindent 12 }}
89+
{{- include "camundaPlatform.emitEnvVarFromSecretConfig" (dict
90+
"envName" "CAMUNDA_OPERATE_ELASTICSEARCH_PASSWORD"
91+
"config" .Values.global.elasticsearch.auth
92+
) | nindent 12 }}
93+
{{- include "camundaPlatform.emitEnvVarFromSecretConfig" (dict
94+
"envName" "CAMUNDA_TASKLIST_ELASTICSEARCH_PASSWORD"
95+
"config" .Values.global.elasticsearch.auth
96+
) | nindent 12 }}
97+
{{- include "camundaPlatform.emitEnvVarFromSecretConfig" (dict
98+
"envName" "CAMUNDA_TASKLIST_ZEEBEELASTICSEARCH_PASSWORD"
99+
"config" .Values.global.elasticsearch.auth
100+
) | nindent 12 }}
101+
{{- include "camundaPlatform.emitEnvVarFromSecretConfig" (dict
102+
"envName" "ZEEBE_BROKER_EXPORTERS_ELASTICSEARCH_ARGS_AUTHENTICATION_PASSWORD"
103+
"config" .Values.global.elasticsearch.auth
104+
) | nindent 12 }}
105+
{{- include "camundaPlatform.emitEnvVarFromSecretConfig" (dict
106+
"envName" "ZEEBE_BROKER_EXPORTERS_CAMUNDAEXPORTER_ARGS_CONNECT_PASSWORD"
107+
"config" .Values.global.elasticsearch.auth
108+
) | nindent 12 }}
109+
{{- include "camundaPlatform.emitEnvVarFromSecretConfig" (dict
110+
"envName" "CAMUNDA_DATABASE_PASSWORD"
111+
"config" .Values.global.elasticsearch.auth
112+
) | nindent 12 }}
113+
{{- end }}
84114
{{- include "camundaPlatform.emitEnvVarFromSecretConfig" (dict
85115
"envName" "CAMUNDA_LICENSE_KEY"
86116
"config" .Values.global.license

0 commit comments

Comments
 (0)