diff --git a/deployment-configuration/helm/templates/auto-secrets.yaml b/deployment-configuration/helm/templates/auto-secrets.yaml index a908069c..a7d3b0b8 100644 --- a/deployment-configuration/helm/templates/auto-secrets.yaml +++ b/deployment-configuration/helm/templates/auto-secrets.yaml @@ -21,11 +21,12 @@ stringData: # Refresh at any deployment for ? (pure random) value {{ $k }}: {{ randAlphaNum 20 }} {{- end }} - {{- else if eq (typeOf $secret.data) "map" }}{{- if not (hasKey $secret.data $k) }} + {{- else if eq (typeOf $secret.data) "map" }} + {{- if not (hasKey $secret.data $k) }} # Create a random secret value if not specified in values.yaml if # it is not set and it is not already in the deployed secret (static random secret) {{ $k }}: {{ randAlphaNum 20 }} - {{- end}}{{- end}} + {{- end}} {{- else }} failsafe: check your values file {{- end }}