From 4cf39f5fc452230468e023c97c00dbdca04b743d Mon Sep 17 00:00:00 2001 From: Cullen Murphy Date: Sun, 15 May 2022 02:40:50 -0500 Subject: [PATCH] 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 --- charts/core/traefik/Chart.yaml | 2 +- charts/core/traefik/questions.yaml | 1 + charts/core/traefik/templates/_args.tpl | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/core/traefik/Chart.yaml b/charts/core/traefik/Chart.yaml index 6b79da137ae..a3e0f961c8d 100644 --- a/charts/core/traefik/Chart.yaml +++ b/charts/core/traefik/Chart.yaml @@ -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 diff --git a/charts/core/traefik/questions.yaml b/charts/core/traefik/questions.yaml index b08fa67fd39..d0dc05add04 100644 --- a/charts/core/traefik/questions.yaml +++ b/charts/core/traefik/questions.yaml @@ -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 diff --git a/charts/core/traefik/templates/_args.tpl b/charts/core/traefik/templates/_args.tpl index a4e1578b9fd..a395c6505bb 100644 --- a/charts/core/traefik/templates/_args.tpl +++ b/charts/core/traefik/templates/_args.tpl @@ -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 */}}