-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Helm chart: controller.reportIngressStatus.leaderElectionLockName
is not auto-generated
#5389
Comments
Hi @kyrofa thanks for reporting! Be sure to check out the docs and the Contributing Guidelines while you wait for a human to take a look at this 🙂 Cheers! |
Leader election lock name was invalidated when this project moved to using the leases API. |
I'm not completely following. Are you saying we can actually remove this configmap altogether? Because the way it stands today, if you try to install two ingress controllers alongside each other, you get something along the lines of:
|
Hi @kyrofa, thanks for opening the issue. autogenerating name makes sense! We're keeping the both objects i.e. old Now just leaving
We will be talking about this issue in our next community call, please feel free to join us on 6th May 3pm GMT (Zoom details on home page) |
The README claims that it's auto-generated today, but it's actually hard-coded. By changing it to use an empty string by default, the `nginx-ingress.leaderElectionName` helper will take care of auto-generating it. Finally, make sure `nginx-ingress.leaderElectionName` is used in the RBAC Role instead of the hard-coded value. Fix nginx#5389 Signed-off-by: Kyle Fazzari <[email protected]>
We should implement #5388 before fixing this issue. |
+1 do you plan to resolve this task in nearest future? |
Closing this issue |
The helm chart README contains the following line:
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.The text was updated successfully, but these errors were encountered: