Switch to filter syntax for djangoSecret default
This commit is contained in:
parent
f3c1b188ac
commit
ef73f55781
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ data:
|
||||||
{{ if $secret -}}
|
{{ if $secret -}}
|
||||||
DJANGO_SECRET_KEY: {{ $secret.data.DJANGO_SECRET_KEY }}
|
DJANGO_SECRET_KEY: {{ $secret.data.DJANGO_SECRET_KEY }}
|
||||||
{{ else -}}
|
{{ else -}}
|
||||||
DJANGO_SECRET_KEY: {{ (default uuidv4 .Values.djangoSecret) | b64enc }}
|
DJANGO_SECRET_KEY: {{ (.Values.djangoSecret | default uuidv4) | b64enc }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{- range $key, $val := .Values.extraSecret }}
|
{{- range $key, $val := .Values.extraSecret }}
|
||||||
|
|
Loading…
Reference in a new issue