Skip to content

Commit

Permalink
Merge pull request #236 from gardener/switch-leader-election-to-leases
Browse files Browse the repository at this point in the history
Switch default leader election resource lock to leases
  • Loading branch information
MartinWeindel authored Jan 3, 2022
2 parents 12fae75 + f2ed907 commit 31b8c7a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ Flags:
--lease-duration duration lease duration
--lease-name string name for lease object
--lease-renew-deadline duration lease renew deadline
--lease-resource-lock string determines which resource lock to use for leader election, defaults to 'configmapsleases'
--lease-resource-lock string determines which resource lock to use for leader election, defaults to 'leases'
--lease-retry-period duration lease retry period
--lock-status-check-period duration interval for dns lock status checks
-D, --log-level string logrus log level
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/aliyun/alibaba-cloud-sdk-go v0.0.0-20190603021944-12ad9f921c0b
github.com/aws/aws-sdk-go v1.38.43
github.com/cloudflare/cloudflare-go v0.11.4
github.com/gardener/controller-manager-library v0.2.1-0.20211214150939-78d41dea001b
github.com/gardener/controller-manager-library v0.2.1-0.20220103153255-cff2a133a1e6
github.com/go-openapi/runtime v0.19.15
github.com/go-openapi/strfmt v0.19.5
github.com/gophercloud/gophercloud v0.18.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoD
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4=
github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=
github.com/gardener/controller-manager-library v0.2.1-0.20211214150939-78d41dea001b h1:QcAvnYClex0waN6Y0P3CZ4nvfHDk7SJeVLJfc9zoM7w=
github.com/gardener/controller-manager-library v0.2.1-0.20211214150939-78d41dea001b/go.mod h1:E1Abd/nMB9pbwEiEHPADjsPgbJRJG90WlU28yim2DG4=
github.com/gardener/controller-manager-library v0.2.1-0.20220103153255-cff2a133a1e6 h1:MqtxlnDxgnBnsPk54xwSVpJlQQ6xO429Z0ep4hYwTwo=
github.com/gardener/controller-manager-library v0.2.1-0.20220103153255-cff2a133a1e6/go.mod h1:E1Abd/nMB9pbwEiEHPADjsPgbJRJG90WlU28yim2DG4=
github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ github.com/form3tech-oss/jwt-go
# github.com/fsnotify/fsnotify v1.4.9
## explicit; go 1.13
github.com/fsnotify/fsnotify
# github.com/gardener/controller-manager-library v0.2.1-0.20211214150939-78d41dea001b
# github.com/gardener/controller-manager-library v0.2.1-0.20220103153255-cff2a133a1e6
## explicit; go 1.16
github.com/gardener/controller-manager-library/hack
github.com/gardener/controller-manager-library/pkg/certmgmt
Expand Down

0 comments on commit 31b8c7a

Please sign in to comment.