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 09:40:50 +02:00
committed by GitHub
co-authored by Kjeld Schouten-Lebbing
parent 94707dde9d
commit 4cf39f5fc4
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,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: 11.3.1 version: 11.3.2
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- network - network
+1
View File
@@ -112,6 +112,7 @@ questions:
attrs: attrs:
- variable: enabled - variable: enabled
label: "Enable" label: "Enable"
description: "When enabled, ingressClass will match the entered name of this app"
schema: schema:
type: boolean type: boolean
default: false default: false
+1 -1
View File
@@ -64,7 +64,7 @@ args:
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- if .Values.ingressClass.enabled }} {{- if .Values.ingressClass.enabled }}
- "--providers.kubernetesingress.ingressclass="{{ .Release.Name }} - "--providers.kubernetesingress.ingressclass={{ .Release.Name }}"
{{- end }} {{- end }}
{{- range $entrypoint, $config := $ports }} {{- range $entrypoint, $config := $ports }}
{{/* add args for forwardedHeaders support */}} {{/* add args for forwardedHeaders support */}}