mirror of
https://github.com/truecharts/charts.git
synced 2026-07-25 00:44:47 -03:00
fix(authentik): don't create empty secret if geoip is not enabled
This commit is contained in:
@@ -27,7 +27,7 @@ sources:
|
||||
- https://github.com/truecharts/charts/tree/master/charts/stable/authentik
|
||||
- https://github.com/goauthentik/authentik
|
||||
- https://goauthentik.io/docs/
|
||||
version: 10.0.27
|
||||
version: 10.0.28
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- authentication
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
{{- $token := randAlphaNum 128 | b64enc }}
|
||||
|
||||
---
|
||||
|
||||
{{/* This secrets are loaded on both main authentik container and worker */}}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
@@ -47,8 +46,8 @@ data:
|
||||
AUTHENTIK_EMAIL__FROM: {{ . | b64enc }}
|
||||
{{- end }}
|
||||
|
||||
{{- if .Values.geoip.enabled }}
|
||||
---
|
||||
|
||||
{{/* This secrets are loaded on geoip container */}}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
@@ -72,9 +71,8 @@ data:
|
||||
{{- with .Values.geoip.proxy_user_pass }}
|
||||
GEOIPUPDATE_PROXY_USER_PASSWORD: {{ . | b64enc }}
|
||||
{{- end }}
|
||||
|
||||
{{- end }}
|
||||
---
|
||||
|
||||
{{/* This secrets are loaded on ldap container */}}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
@@ -91,7 +89,6 @@ data:
|
||||
{{- end }}
|
||||
|
||||
---
|
||||
|
||||
{{/* This secrets are loaded on ldap container */}}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
|
||||
Reference in New Issue
Block a user