-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
⚠ Bump to k8s.io/ v0.28.0-alpha.3 #2393
⚠ Bump to k8s.io/ v0.28.0-alpha.3 #2393
Conversation
@@ -500,7 +501,7 @@ var _ = Describe("manger.Manager", func() { | |||
It("should use the specified ResourceLock", func() { | |||
m, err := New(cfg, Options{ | |||
LeaderElection: true, | |||
LeaderElectionResourceLock: resourcelock.ConfigMapsLeasesResourceLock, | |||
LeaderElectionResourceLock: resourcelock.LeasesResourceLock, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upstream now only supports the Leases lock: https://github.com/kubernetes/client-go/blob/master/tools/leaderelection/resourcelock/interface.go#L166-L189
@alvaroaleman @vincepri I wonder if we should just drop the LeaderElectionResourceLock field. Doesn't make much sense to keep it if it can only be set to LeasesResourceLock
. WDYT?
e632fc9
to
d9d6a3d
Compare
d9d6a3d
to
1bc5fce
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alvaroaleman, sbueringer The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Let's already bump to v0.28 alpha3 to get some experience with 0.28 to find issues early