Skip to content

Commit

Permalink
Change ConfigMapsLeasesResourceLock to LeasesResourceLock
Browse files Browse the repository at this point in the history
- ConfigMapsLeasesResourceLock was removed.
  kubernetes/kubernetes#117558 says "Users of
  those lock resources should move to `leases` which is safe to do in a
  single release"
  • Loading branch information
panslava committed Dec 8, 2023
1 parent eb82a4a commit 62bc802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/flags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const (
DefaultRetryPeriod = 2 * time.Second

// DefaultResourceLock is the type of resource used for the lock object.
DefaultResourceLock = resourcelock.ConfigMapsLeasesResourceLock
DefaultResourceLock = resourcelock.LeasesResourceLock

// DefaultLockObjectNamespace is the namespace which owns the lock object.
DefaultLockObjectNamespace string = "kube-system"
Expand Down

0 comments on commit 62bc802

Please sign in to comment.