fix(infra-monitoring): Correct authentik middleware-forwardauth
This commit is contained in:
parent
ba54f31783
commit
904f86440c
2 changed files with 11 additions and 1 deletions
|
@ -114,7 +114,7 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with $.Values.commons.auth }}
|
{{- with $.Values.commons.auth }}
|
||||||
{{- if and .enabled (eq .type "authentik") (not $.Values.karma.auth.anonymous.enabled) }}
|
{{- if and .enabled (eq .type "authentik") (not $.Values.karma.auth.anonymous.enabled) }}
|
||||||
"traefik.ingress.kubernetes.io/router.middlewares": "{{ .namespace }}-authentik-outpost@kubernetescrd"
|
"traefik.ingress.kubernetes.io/router.middlewares": "{{ .namespace }}-mycloud-mycloud-authentik-outpost@kubernetescrd"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .annotations }}
|
{{- with .annotations }}
|
||||||
|
|
|
@ -65,6 +65,11 @@ spec:
|
||||||
{{- with $.Values.commons.ingress.annotations }}
|
{{- with $.Values.commons.ingress.annotations }}
|
||||||
{{- toYaml . | nindent 10 }}
|
{{- toYaml . | nindent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with $.Values.commons.auth }}
|
||||||
|
{{- if and .enabled (eq .type "authentik") (not $.Values.prometheus.auth.anonymous.enabled) }}
|
||||||
|
"traefik.ingress.kubernetes.io/router.middlewares": "{{ .namespace }}-mycloud-mycloud-authentik-outpost@kubernetescrd"
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- with .annotations }}
|
{{- with .annotations }}
|
||||||
{{- toYaml . | nindent 10 }}
|
{{- toYaml . | nindent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -105,6 +110,11 @@ spec:
|
||||||
{{- with $.Values.commons.ingress.annotations }}
|
{{- with $.Values.commons.ingress.annotations }}
|
||||||
{{- toYaml . | nindent 10 }}
|
{{- toYaml . | nindent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with $.Values.commons.auth }}
|
||||||
|
{{- if and .enabled (eq .type "authentik") (not $.Values.alertmanager.auth.anonymous.enabled) }}
|
||||||
|
"traefik.ingress.kubernetes.io/router.middlewares": "{{ .namespace }}-mycloud-mycloud-authentik-outpost@kubernetescrd"
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- with .annotations }}
|
{{- with .annotations }}
|
||||||
{{- toYaml . | nindent 10 }}
|
{{- toYaml . | nindent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue