2025.12 upgrade
This commit is contained in:
19
templates/secret.yaml
Normal file
19
templates/secret.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
{{- if and .Values.authentik.enabled (not .Values.authentik.existingSecret.secretName) }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ template "authentik.fullname" . }}
|
||||
namespace: {{ include "authentik.namespace" . | quote }}
|
||||
labels:
|
||||
{{- include "authentik.labels" (dict "context" .) | nindent 4 }}
|
||||
{{- if .Values.global.secretAnnotations }}
|
||||
annotations:
|
||||
{{- toYaml .Values.global.secretAnnotations | nindent 4 }}
|
||||
{{- end }}
|
||||
data:
|
||||
{{- include "authentik.env" (dict "root" . "values" .Values.authentik) | indent 2 }}
|
||||
{{- if and .Values.geoip.enabled (not .Values.geoip.existingSecret.secretName) }}
|
||||
GEOIPUPDATE_ACCOUNT_ID: {{ required "geoip account id required" .Values.geoip.accountId | b64enc | quote }}
|
||||
GEOIPUPDATE_LICENSE_KEY: {{ required "geoip license key required" .Values.geoip.licenseKey | b64enc | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user