Skip to content
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

values: auto-generate leaderElectionLockName by default #5390

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kyrofa
Copy link

@kyrofa kyrofa commented Apr 13, 2024

The README claims that it's auto-generated today, but it's actually hard-coded. This PR fixes #5389 by changing it to use an empty string by default, thereby allowing the nginx-ingress.leaderElectionName helper to take care of auto-generating it.

@kyrofa kyrofa requested a review from a team as a code owner April 13, 2024 00:13
Copy link

netlify bot commented Apr 13, 2024

👷 Deploy request for nginx-kubernetes-ingress pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit dd8c35c

@github-actions github-actions bot added tests Pull requests that update tests helm_chart Pull requests that update the Helm Chart labels Apr 13, 2024
@pdabelf5 pdabelf5 removed the tests Pull requests that update tests label Apr 15, 2024
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 nginxinc#5389

Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
@kyrofa kyrofa force-pushed the bugfix/5389/auto-generate-leaderElectionLockName branch from 11151bb to dd8c35c Compare April 15, 2024 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
helm_chart Pull requests that update the Helm Chart
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

Helm chart: controller.reportIngressStatus.leaderElectionLockName is not auto-generated
2 participants