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:
Ethan Leisinger
2022-11-02 16:39:33 -06:00
committed by GitHub
parent 7eb523c8c0
commit 2b29dc8794
3 changed files with 19 additions and 1 deletions
+1 -1
View File
@@ -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: