From effea4c0e8039f5303f97254950bdcadc31f9143 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Valais?= Date: Fri, 15 Sep 2023 16:09:39 +0200 Subject: [PATCH] deploy/static: use kube-system as the default election namespace kube-system is always present in every cluster, unlike the "cert-manager" namespace. The reason we want a central namespace is that we want to avoid mistakenly creating two replicas (in the same pod, or in different pods across namespaces) of openshift-routes. --- deploy/static/cert-manager-openshift-routes.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy/static/cert-manager-openshift-routes.yaml b/deploy/static/cert-manager-openshift-routes.yaml index 3248fd0..89316e4 100644 --- a/deploy/static/cert-manager-openshift-routes.yaml +++ b/deploy/static/cert-manager-openshift-routes.yaml @@ -114,6 +114,7 @@ spec: image: "ghcr.io/cert-manager/cert-manager-openshift-routes:${RELEASED_VERSION}" args: - -v=5 + - -leader-election-namespace=kube-system ports: - containerPort: 6060 name: readiness