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

Update LeaderElectionID for Scoped Providers #736

Merged

Conversation

stevendborrelli
Copy link
Contributor

@stevendborrelli stevendborrelli commented Jun 15, 2023

Description of your changes

Fixes #734

I have:

  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Tested locally with iam and eks providers, confirmed that each one uses a family-scoped Leader Election ID and each provider can select a leader:

0615 11:16:03.051536   50062 leaderelection.go:248] attempting to acquire leader lease upbound-system/crossplane-leader-election-provider-aws-iam...
I0615 11:17:03.094603   50062 leaderelection.go:258] successfully acquired lease upbound-system/crossplane-leader-election-provider-aws-iam
I0615 11:16:40.747300   50170 leaderelection.go:248] attempting to acquire leader lease upbound-system/crossplane-leader-election-provider-aws-eks...
I0615 11:17:41.663548   50170 leaderelection.go:258] successfully acquired lease upbound-system/crossplane-leader-election-provider-aws-eks

Copy link
Collaborator

@ulucinar ulucinar left a comment

Choose a reason for hiding this comment

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

Thank you @stevendborrelli, lgtm. Please see the comment below.

@stevendborrelli stevendborrelli merged commit 6dc15fb into crossplane-contrib:main Jun 21, 2023
8 checks passed
@elohmrow
Copy link
Contributor

@stevendborrelli can we close this?

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.

Leader Election Name Conflicts
3 participants