This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/helm/templates/secret.yaml

17 lines
513 B
YAML
Raw Normal View History

apiVersion: v1
kind: Secret
type: Opaque
metadata:
2020-12-05 21:08:42 +00:00
name: {{ include "authentik.fullname" . }}-secret-key
data:
monitoring_username: bW9uaXRvcg== # monitor in base64
{{- if .Values.config.secretKey }}
2021-01-17 17:56:24 +00:00
secret_key: {{ .Values.config.secretKey | b64enc | quote }}
{{- else }}
2021-01-17 17:56:24 +00:00
secret_key: {{ randAlphaNum 50 | b64enc | quote}}
{{- end }}
{{- if .Values.backup }}
POSTGRESQL__S3_BACKUP__SECRET_KEY: "{{ .Values.backup.secretKey }}"
{{- end}}
2021-01-17 17:56:24 +00:00
EMAIL__PASSWORD: "{{ .Values.config.email.password }}"