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://traefik.io/
|
||||
type: application
|
||||
version: 13.4.16
|
||||
version: 13.5.0
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- network
|
||||
|
||||
@@ -27,4 +27,8 @@ spec:
|
||||
{{- if $middlewareData.trustForwardHeader }}
|
||||
trustForwardHeader: true
|
||||
{{- end }}
|
||||
{{- with $middlewareData.tls }}
|
||||
tls:
|
||||
insecureSkipVerify: {{ .insecureSkipVerify | default false }}
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
|
||||
@@ -27,6 +27,20 @@
|
||||
schema:
|
||||
type: boolean
|
||||
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
|
||||
label: authResponseHeadersRegex
|
||||
schema:
|
||||
|
||||
Reference in New Issue
Block a user