We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09e071a commit 7f6e584Copy full SHA for 7f6e584
charts/dependencies/templates/elasticsearch-secrets.yaml
@@ -17,9 +17,6 @@ https://github.com/opencrvs/opencrvs-core/issues/9657
17
{{- $prefix := $user_key_val._0 }}
18
{{- $username := ($user_key_val._1 | default $prefix) | lower }}
19
{{- $password := randAlphaNum 32 }}
20
- {{- if $.Values.chart_dev_mode }}
21
- {{- $password = $username | lower }}
22
- {{- end }}
23
{{- $host := printf "%s:%s@%s:%s" $username $password $.Values.elasticsearch.host ($.Values.elasticsearch.port | toString) }}
24
{{- $_ := set $secrets (printf "%s_ELASTIC_USERNAME" $prefix) $username }}
25
{{- $_ := set $secrets (printf "%s_ELASTIC_PASSWORD" $prefix) $password }}
0 commit comments