[2.18] cert-manager: Backport cert-manager leader election namespace fixes from master (#8681)

cherry-picked from
* ccd3180 cert-manager: Fix incorrect leader election namespace lead to insufficient permission (#8433)
* e791089 cert-manager: Allow to change leader election namespace for GKE Autopilot support (#8424)
This commit is contained in:
rtsp
2022-04-05 01:10:11 +07:00
committed by GitHub
parent f091b1cfd7
commit 58bea67b68
3 changed files with 11 additions and 6 deletions

View File

@@ -1,3 +1,7 @@
---
cert_manager_namespace: "cert-manager"
cert_manager_user: 1001
## Change leader election namespace when deploying on GKE Autopilot that forbid the changes on kube-system namespace.
## See https://github.com/jetstack/cert-manager/issues/3717
cert_manager_leader_election_namespace: kube-system