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

Option to disable leader election in the controller #2384

Open
NicoMovh opened this issue Jan 13, 2025 · 0 comments · May be fixed by #2423
Open

Option to disable leader election in the controller #2384

NicoMovh opened this issue Jan 13, 2025 · 0 comments · May be fixed by #2423

Comments

@NicoMovh
Copy link

What feature you would like to be added?

Hello,

Would it be possible to add a way to disable the leader election in the controller deployment?

Why is this needed?

It seems that leader election is set, even with a replica 1. It uses leases rights, and theses rights are not allowed in our Kubernetes for securities reasons. We'd like to be able to disable the Leader election

Describe the solution you would like

Add:
{{- if .Values.controller.leaderElection.enable }}
{{- end }}
In the Controller deployment to be able to disable the leader elections in the values.yaml

Describe alternatives you have considered

We could also use a value for "--leader-election=true"

Additional context

No response

Love this feature?

Give it a 👍 We prioritize the features with most 👍

@ChenYi015 ChenYi015 linked a pull request Feb 7, 2025 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant