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/truecharts/charts/tree/master/charts/stable/authentik
|
||||||
- https://github.com/goauthentik/authentik
|
- https://github.com/goauthentik/authentik
|
||||||
- https://goauthentik.io/docs/
|
- https://goauthentik.io/docs/
|
||||||
version: 10.0.27
|
version: 10.0.28
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- authentication
|
- authentication
|
||||||
|
|||||||
@@ -8,7 +8,6 @@
|
|||||||
{{- $token := randAlphaNum 128 | b64enc }}
|
{{- $token := randAlphaNum 128 | b64enc }}
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
{{/* This secrets are loaded on both main authentik container and worker */}}
|
{{/* This secrets are loaded on both main authentik container and worker */}}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
@@ -47,8 +46,8 @@ data:
|
|||||||
AUTHENTIK_EMAIL__FROM: {{ . | b64enc }}
|
AUTHENTIK_EMAIL__FROM: {{ . | b64enc }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
{{- if .Values.geoip.enabled }}
|
||||||
---
|
---
|
||||||
|
|
||||||
{{/* This secrets are loaded on geoip container */}}
|
{{/* This secrets are loaded on geoip container */}}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
@@ -72,9 +71,8 @@ data:
|
|||||||
{{- with .Values.geoip.proxy_user_pass }}
|
{{- with .Values.geoip.proxy_user_pass }}
|
||||||
GEOIPUPDATE_PROXY_USER_PASSWORD: {{ . | b64enc }}
|
GEOIPUPDATE_PROXY_USER_PASSWORD: {{ . | b64enc }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
---
|
---
|
||||||
|
|
||||||
{{/* This secrets are loaded on ldap container */}}
|
{{/* This secrets are loaded on ldap container */}}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
@@ -91,7 +89,6 @@ data:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
{{/* This secrets are loaded on ldap container */}}
|
{{/* This secrets are loaded on ldap container */}}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Secret
|
kind: Secret
|
||||||
|
|||||||
Reference in New Issue
Block a user