Skip to content

Commit

Permalink
Use configmapleases as default resource lock object for leaderselec…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
mjgrzybek committed Jul 20, 2022
1 parent 7a7439c commit 6c93d80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ require (
github.com/docker/go-metrics v0.0.1 // indirect
github.com/docker/go-units v0.4.0 // indirect
github.com/emicklei/go-restful v2.9.5+incompatible // indirect
github.com/form3tech-oss/jwt-go v3.2.3+incompatible // indirect
github.com/fsnotify/fsnotify v1.5.1 // indirect
github.com/ghodss/yaml v1.0.0 // indirect
github.com/go-logr/zapr v1.2.0 // indirect
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/operator/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const (
operatorManagerPort = 8383

leaderElectionId = "dynatrace-operator-lock"
leaderElectionResourceLock = "configmaps"
leaderElectionResourceLock = "configmapsleases"

livenessEndpointName = "/livez"
readyzEndpointName = "readyz"
Expand Down

0 comments on commit 6c93d80

Please sign in to comment.