|
81 | 81 | "config" .Values.global.opensearch.auth |
82 | 82 | ) | nindent 12 }} |
83 | 83 | {{- 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 }} |
84 | 114 | {{- include "camundaPlatform.emitEnvVarFromSecretConfig" (dict |
85 | 115 | "envName" "CAMUNDA_LICENSE_KEY" |
86 | 116 | "config" .Values.global.license |
|
0 commit comments