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:
parent
1b348172a2
commit
937403c4a5
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue