Skip to content

Commit

Permalink
leader election: move from configmapleases to leases
Browse files Browse the repository at this point in the history
  • Loading branch information
yorugac committed Oct 13, 2023
1 parent 495a644 commit 861743f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func main() {
}),
LeaderElection: enableLeaderElection,
LeaderElectionID: "fcdfce80.io",
LeaderElectionResourceLock: "configmapsleases",
LeaderElectionResourceLock: "leases",
Cache: cache.Options{
DefaultNamespaces: map[string]cache.Config{
watchNamespace: cache.Config{},
Expand Down

0 comments on commit 861743f

Please sign in to comment.