helm: fix old reference to static secret_key
This commit is contained in:
parent
677a181b9c
commit
ee8e42728e
|
@ -6,9 +6,9 @@ metadata:
|
||||||
data:
|
data:
|
||||||
monitoring_username: bW9uaXRvcg== # monitor in base64
|
monitoring_username: bW9uaXRvcg== # monitor in base64
|
||||||
{{- if .Values.config.secretKey }}
|
{{- if .Values.config.secretKey }}
|
||||||
secret_key: {{ .Values.config.secretKey | b64enc | quote }}
|
SECRET_KEY: {{ .Values.config.secretKey | b64enc | quote }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
secret_key: {{ randAlphaNum 50 | b64enc | quote}}
|
SECRET_KEY: {{ randAlphaNum 50 | b64enc | quote}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.backup }}
|
{{- if .Values.backup }}
|
||||||
POSTGRESQL__S3_BACKUP__SECRET_KEY: "{{ .Values.backup.secretKey }}"
|
POSTGRESQL__S3_BACKUP__SECRET_KEY: "{{ .Values.backup.secretKey }}"
|
||||||
|
|
|
@ -74,12 +74,10 @@ spec:
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: {{ include "authentik.fullname" . }}-config
|
name: {{ include "authentik.fullname" . }}-config
|
||||||
prefix: AUTHENTIK_
|
prefix: AUTHENTIK_
|
||||||
|
- secretRef:
|
||||||
|
name: {{ include "authentik.fullname" . }}-secret-key
|
||||||
|
prefix: AUTHENTIK_
|
||||||
env:
|
env:
|
||||||
- name: AUTHENTIK_SECRET_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: "{{ include "authentik.fullname" . }}-secret-key"
|
|
||||||
key: "secret_key"
|
|
||||||
- name: AUTHENTIK_REDIS__PASSWORD
|
- name: AUTHENTIK_REDIS__PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
|
|
Reference in New Issue