feat(traefik): add support for insecureForwardAuth (#4247)
* add support for insecureSkipVerify for forwardAuth * Fix handling of empty tls * try something else * simplify with with * improve question layout and make proper version * use piping for default * Add some warning language for new feature Signed-off-by: Ethan Leisinger <770373+packruler@users.noreply.github.com>
This commit is contained in:
@@ -23,7 +23,7 @@ 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: 13.4.16
|
version: 13.5.0
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- network
|
- network
|
||||||
|
|||||||
@@ -27,4 +27,8 @@ spec:
|
|||||||
{{- if $middlewareData.trustForwardHeader }}
|
{{- if $middlewareData.trustForwardHeader }}
|
||||||
trustForwardHeader: true
|
trustForwardHeader: true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with $middlewareData.tls }}
|
||||||
|
tls:
|
||||||
|
insecureSkipVerify: {{ .insecureSkipVerify | default false }}
|
||||||
|
{{- end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
@@ -27,6 +27,20 @@
|
|||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
- variable: tls
|
||||||
|
label: TLS
|
||||||
|
schema:
|
||||||
|
additional_attrs: true
|
||||||
|
type: dict
|
||||||
|
attrs:
|
||||||
|
- variable: insecureSkipVerify
|
||||||
|
label: insecureSkipVerify (expert)
|
||||||
|
description: >-
|
||||||
|
This disables all TLS certificate validation on communications with the authentication endpoint.
|
||||||
|
This could be a security risk and should only be used if you know what you are doing.
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
- variable: authResponseHeadersRegex
|
- variable: authResponseHeadersRegex
|
||||||
label: authResponseHeadersRegex
|
label: authResponseHeadersRegex
|
||||||
schema:
|
schema:
|
||||||
|
|||||||
Reference in New Issue
Block a user