From e3b8655b43ff0e2fafa1f3a1ecf2230f17ba9ff7 Mon Sep 17 00:00:00 2001 From: Yeray Borges Date: Tue, 21 May 2024 09:20:03 +0100 Subject: [PATCH 1/2] Use a human readable name for the leader election id --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 08c0414e..4e79e756 100644 --- a/main.go +++ b/main.go @@ -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"), From 01e5620ef2f9363d1f97d6b0bea1571486ab8f57 Mon Sep 17 00:00:00 2001 From: Yeray Borges Date: Tue, 21 May 2024 09:20:50 +0100 Subject: [PATCH 2/2] Use quay repository as default controller name --- config/manager/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 1c2d9c0d..88fed04c 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -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