fix(traefik) Fix null pointer error, move ingressClass quote (#2685)

* Fix ingressClass quotes, add question description

* Update Chart.yaml

Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
This commit is contained in:
Cullen Murphy 2022-05-15 02:40:50 -05:00 committed by GitHub
parent 94707dde9d
commit 4cf39f5fc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -22,7 +22,7 @@ sources:
- https://github.com/traefik/traefik-helm-chart
- https://traefik.io/
type: application
version: 11.3.1
version: 11.3.2
annotations:
truecharts.org/catagories: |
- network

View File

@ -112,6 +112,7 @@ questions:
attrs:
- variable: enabled
label: "Enable"
description: "When enabled, ingressClass will match the entered name of this app"
schema:
type: boolean
default: false

View File

@ -64,7 +64,7 @@ args:
{{- end }}
{{- end }}
{{- if .Values.ingressClass.enabled }}
- "--providers.kubernetesingress.ingressclass="{{ .Release.Name }}
- "--providers.kubernetesingress.ingressclass={{ .Release.Name }}"
{{- end }}
{{- range $entrypoint, $config := $ports }}
{{/* add args for forwardedHeaders support */}}