Skip to content

Commit

Permalink
Merge pull request wildfly#307 from yersan/issue-301
Browse files Browse the repository at this point in the history
[wildfly#301] Replace leader-for-life leader election with leader-for-lease
  • Loading branch information
yersan authored May 21, 2024
2 parents 95b7138 + 01e5620 commit 00a8d8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: localhost:5000/wildfly-operator
newName: quay.io/wildfly/wildfly-operator
newTag: latest
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func main() {
Namespace: namespace,
HealthProbeBindAddress: probeAddr,
LeaderElection: enableLeaderElection,
LeaderElectionID: "8kr4rta7hq.wildfly-operator-lock",
LeaderElectionID: "wildfly-operator-election-lock",
LeaseDuration: &leaseDuration,
RenewDeadline: &renewDeadline,
Logger: ctrl.Log.WithName("manager"),
Expand Down

0 comments on commit 00a8d8e

Please sign in to comment.