Verified Commit 56addf4e authored by Hugo's avatar Hugo
Browse files

fix rand

parent 6ae7a37f
......@@ -14,7 +14,7 @@ stringData:
CMD_DB_URL: postgres://unknown:unknown@pg-{{ .Release.Namespace }}:5432/hedgedoc
{{- end }}
{{- if $secret.data }}
CMD_SESSION_SECRET: {{ $secret.data.CMD_SESSION_SECRET | default randAlphaNum 64 }}
CMD_SESSION_SECRET: {{ $secret.data.CMD_SESSION_SECRET | default (randAlphaNum 64) }}
{{ else }}
CMD_SESSION_SECRET: {{ randAlphaNum 64 }}
{{- end }}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment