scale-catalog/stable/etesync/8.4.0/templates/_secret.tpl
Julian Haseleu 5d1ab94342 cleanup
2024-07-14 21:54:53 +00:00

11 lines
316 B
Smarty

{{/* EteSync superuser credentials and Django SECRET_KEY */}}
{{- define "etesync.secret" -}}
enabled: true
data:
{{- with (lookup "v1" "Secret" .Release.Namespace "etesync-secret") }}
secret.txt: {{ index .data "secret.txt" | b64dec }}
{{- else }}
secret.txt: {{ randAlphaNum 32 }}
{{- end }}
{{- end -}}