fix (trafik) IngressClass and namespace configuration (#2635)

* Remove unused rbac.namespaced flag

* Pass ingressClass name to Traefik if enabled

* Update charts/core/traefik/templates/_args.tpl

Co-authored-by: Kjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>
This commit is contained in:
Cullen Murphy 2022-05-09 02:30:01 -05:00 committed by GitHub
parent 1b348172a2
commit 937403c4a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

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