Skip to content

feat(gitops-operator): set LEADER_ELECT based on replicaCount #419

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

Merged
merged 2 commits into from
Mar 17, 2025

Conversation

mikhail-klimko
Copy link
Contributor

@mikhail-klimko mikhail-klimko commented Mar 17, 2025

What

Set LEADER_ELECT env var to true if gitops-operator has more than 1 replicas

Why

Notes

@mikhail-klimko mikhail-klimko requested a review from scme0 March 17, 2025 11:44
Copy link
Contributor

@scme0 scme0 left a comment

Choose a reason for hiding this comment

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

Nice, looks good! Thanks for this 🚀

@mikhail-klimko mikhail-klimko marked this pull request as ready for review March 17, 2025 11:47
@mikhail-klimko mikhail-klimko requested a review from a team as a code owner March 17, 2025 11:47
@mikhail-klimko
Copy link
Contributor Author

/e2e

@mikhail-klimko mikhail-klimko merged commit 35ec9e8 into main Mar 17, 2025
2 checks passed
@mikhail-klimko mikhail-klimko deleted the feat/gitops-operator-leader-elect branch March 17, 2025 13:03
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