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

Helm Chart - Disable Leader Election if running Operator as a single Pod #462

Closed
hartman17 opened this issue Sep 25, 2024 · 1 comment
Closed
Labels
enhancement New feature or request helm
Milestone

Comments

@hartman17
Copy link
Contributor

Feature Description

When deploying the operator using Helm there is no configurable option to disable the leader election process. This should be disabled when running the operator as a single pod, there is no need to check for leader election in this state.

Suggested Solution (optional)

There are a couple of ways to do this:

Add Helm config to disable leader election if .Values.manager.replicas == 1

or

Add a .Values.manager.leaderelection and allow users to pass in true/false to disable if it's not needed.

Already existing or connected issues / PRs (optional)

No response

@yorugac
Copy link
Collaborator

yorugac commented Sep 30, 2024

Solved in #463.

@yorugac yorugac closed this as completed Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request helm
Projects
None yet
Development

No branches or pull requests

2 participants