Skip to content

keda-operator: configurable leader election lease resource name#836

Merged
wozniakjan merged 1 commit into
kedacore:mainfrom
wozniakjan:operator_configurable_leaderelection
Mar 31, 2026
Merged

keda-operator: configurable leader election lease resource name#836
wozniakjan merged 1 commit into
kedacore:mainfrom
wozniakjan:operator_configurable_leaderelection

Conversation

@wozniakjan

Copy link
Copy Markdown
Member

Checklist

@wozniakjan wozniakjan requested review from a team as code owners March 20, 2026 10:47
@wozniakjan wozniakjan requested review from a team and Copilot and removed request for a team March 20, 2026 10:48
@wozniakjan wozniakjan enabled auto-merge (squash) March 20, 2026 10:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a Helm value to optionally override the KEDA operator’s leader election Lease resource name (controller manager leader election ID), enabling multiple independent operator deployments within the same namespace.

Changes:

  • Add operator.leaderElectionID to chart documentation.
  • Conditionally pass --leader-election-id to the operator Deployment when the value is set.
  • Document the new configuration option in values.yaml.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
keda/values.yaml Documents the new operator.leaderElectionID value (currently only as a commented example).
keda/templates/manager/deployment.yaml Adds conditional --leader-election-id={{ ... }} argument when operator.leaderElectionID is provided.
keda/README.md Adds operator.leaderElectionID to the values table with behavior/usage details.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread keda/values.yaml
@wozniakjan wozniakjan mentioned this pull request Mar 31, 2026
22 tasks
@wozniakjan wozniakjan merged commit ac335ce into kedacore:main Mar 31, 2026
79 of 82 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants