Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Remove enable-leader-election as default #180

Merged
merged 1 commit into from
May 24, 2021
Merged

Conversation

akartsky
Copy link
Contributor

@akartsky akartsky commented May 18, 2021

Which issue(s) does this PR fix?

ERROR setup unable to start manager {"error": "LeaderElectionID must be configured"}

For China region --enable-leader-election was set by default.

Looks like that feature is broken and further investigation is required.
For now remove that argument from default

Testing

All the files are auto generated and tested locally.

Note to reviewers

Our 1.1.0 release was with controller-runtime version v0.2.0
in Aug 2020 we updated the version to 0.6.1 : #129
in Sep 2020 we updated the version to 0.6.2 : #139
Our 1.2.0 release was with controller-runtime version v0.6.2

I verified that the 1.1.0 image works fine with --enable-leader-election in China region

This version update seems to be the root cause and we need to change our main.go function to fix manager creation with new options

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@akartsky akartsky merged commit 1fbeeef into aws:master May 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants