(fix) correct authForwardHeader lists on Traefik (#1073)
This commit is contained in:
parent
60a6de543b
commit
5e920673a8
|
@ -22,4 +22,4 @@ sources:
|
|||
- https://github.com/traefik/traefik-helm-chart
|
||||
- https://traefik.io/
|
||||
type: application
|
||||
version: 9.0.3
|
||||
version: 9.0.4
|
||||
|
|
|
@ -13,11 +13,13 @@ metadata:
|
|||
spec:
|
||||
forwardAuth:
|
||||
address: {{ $middlewareData.address }}
|
||||
{{- if $middlewareData.authResponseHeaders }}
|
||||
authResponseHeaders: {{ $middlewareData.authResponseHeaders }}
|
||||
{{- with $middlewareData.authResponseHeaders }}
|
||||
authResponseHeaders:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if $middlewareData.authRequestHeaders }}
|
||||
authRequestHeaders: {{ $middlewareData.authRequestHeaders }}
|
||||
{{- with $middlewareData.authRequestHeaders }}
|
||||
authRequestHeaders:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if $middlewareData.authResponseHeadersRegex }}
|
||||
authResponseHeadersRegex: {{ $middlewareData.authResponseHeadersRegex }}
|
||||
|
|
Loading…
Reference in New Issue