Skip to content

Commit

Permalink
deploy/static: use kube-system as the default election namespace
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
maelvls committed Sep 15, 2023
1 parent e7057ab commit effea4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deploy/static/cert-manager-openshift-routes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit effea4c

Please sign in to comment.