ITADN

Allow custom value parameter for the Traefik controller

#1819Closedvarshmk19 创建于 2026-04-29
resolution/declined
V
varshmk19commented
### Welcome! - [x] Yes, I've searched similar issues on [GitHub](https://github.com/traefik/traefik/issues) and didn't find any. - [x] Yes, I've searched similar issues on the [Traefik community forum](https://community.traefik.io) and didn't find any. ### What do you want to achieve with this Chart ? Currently we are migrating from nginx to traefik controller. We have around 5 controllers. Created the controllers using the helm chart. When I tried to create a Ingress Resource specifying the IngressClass Name in the configuration it is not picking the specific controller and randomly picking any one of the controller and creating the Route53 entry for the randomly selected Load Balancer DNS. Searched online and added these additional Arguments still it is not picking the correct controller. It seems that we cannot change the controller Value as we are doing it in the nginx helm charts. The chart didn't allow to create the controller with the custom value. example of what I got is below: traefik-ani traefik.io/ingress-controller <none> 8d traefik-bb traefik.io/ingress-controller <none> 8d traefik-dev-bb traefik.io/ingress-controller <none> 8d traefik-dev-restricted traefik.io/ingress-controller <none> 8d traefik-dev-ci traefik.io/ingress-controller <none> 8d traefik-saas traefik.io/ingress-controller <none> 8d It seems that all the controllers are watching all the Ingress resource which are creating a get into the race condition to choose the controller among them. It is mentioned that we have to use the below configs in the helm chart but it is not working. ingressClass: enabled: true name: dev-bb-traefik isDefaultClass: false additionalArguments: - "--providers.kubernetesingress.ingressclass=dev-bb-traefik" Still it is choosing a different LB DNS. What could be the solution for this? If we create it manually the controller value is changed but it is not from Helm. yaml file: **apiVersion: networking.k8s.io/v1 kind: IngressClass metadata: name: private-traefik-testing spec: controller: traefik.io/private-traefik** private-traefik-testing traefik.io/private-traefik <none> 16m
关闭于 2026-05-12 1 条评论