Skip to content

Commit 7f6e584

Browse files
committed
fix: Use strong password
1 parent 09e071a commit 7f6e584

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

charts/dependencies/templates/elasticsearch-secrets.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ https://github.com/opencrvs/opencrvs-core/issues/9657
1717
{{- $prefix := $user_key_val._0 }}
1818
{{- $username := ($user_key_val._1 | default $prefix) | lower }}
1919
{{- $password := randAlphaNum 32 }}
20-
{{- if $.Values.chart_dev_mode }}
21-
{{- $password = $username | lower }}
22-
{{- end }}
2320
{{- $host := printf "%s:%s@%s:%s" $username $password $.Values.elasticsearch.host ($.Values.elasticsearch.port | toString) }}
2421
{{- $_ := set $secrets (printf "%s_ELASTIC_USERNAME" $prefix) $username }}
2522
{{- $_ := set $secrets (printf "%s_ELASTIC_PASSWORD" $prefix) $password }}

0 commit comments

Comments
 (0)