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.
2019-10-08 08:44:25 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
type: Opaque
|
|
|
|
metadata:
|
2020-12-05 21:08:42 +00:00
|
|
|
name: {{ include "authentik.fullname" . }}-secret-key
|
2019-10-08 08:44:25 +00:00
|
|
|
data:
|
2019-11-08 14:00:08 +00:00
|
|
|
monitoring_username: bW9uaXRvcg== # monitor in base64
|
2020-10-16 19:36:12 +00:00
|
|
|
{{- if .Values.config.secretKey }}
|
2021-01-17 22:01:58 +00:00
|
|
|
SECRET_KEY: {{ .Values.config.secretKey | b64enc | quote }}
|
2019-10-08 08:44:25 +00:00
|
|
|
{{- else }}
|
2021-01-17 22:01:58 +00:00
|
|
|
SECRET_KEY: {{ randAlphaNum 50 | b64enc | quote}}
|
2019-10-08 08:44:25 +00:00
|
|
|
{{- end }}
|
2021-01-04 23:41:10 +00:00
|
|
|
{{- if .Values.backup }}
|
2021-01-17 22:02:14 +00:00
|
|
|
POSTGRESQL__S3_BACKUP__SECRET_KEY: "{{ .Values.backup.secretKey | b64enc }}"
|
2021-01-04 23:41:10 +00:00
|
|
|
{{- end}}
|
2021-01-17 22:02:14 +00:00
|
|
|
EMAIL__PASSWORD: "{{ .Values.config.email.password | b64enc }}"
|