-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
The helm chart README contains the following line:
|
controller.reportIngressStatus.leaderElectionLockName
| Specifies the name of the ConfigMap, within the same namespace as the controller, used as the lock for leader election. controller.reportIngressStatus.enableLeaderElection must be set to true. | Autogenerated |
And indeed, this needs to be auto-generated in order to support multiple ingress controllers in the same namespace. However, it's actually hard-coded in the values.yaml to nginx-ingress-leader
, which means by default you cannot install multiple ingress controllers in the same namespace.
It does look like the nginx-ingress.leaderElectionName definition does actually support auto-generating it, but the fact that the value is hard-coded means it's not done by default.
I propose updating the the default leaderElectionLockName
value to be an empty string so that the README is telling the truth.
### Tasks
- [ ] https://github.com/nginxinc/kubernetes-ingress/issues/5388