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