cert-manager: Fix incorrect leader election namespace lead to insufficient permission (#8433)
This commit is contained in:
parent
418f12f62a
commit
e791089466
1 changed files with 4 additions and 4 deletions
|
@ -630,7 +630,7 @@ apiVersion: rbac.authorization.k8s.io/v1
|
|||
kind: Role
|
||||
metadata:
|
||||
name: cert-manager-cainjector:leaderelection
|
||||
namespace: {{ cert_manager_namespace }}
|
||||
namespace: {{ cert_manager_leader_election_namespace }}
|
||||
labels:
|
||||
app: cainjector
|
||||
app.kubernetes.io/name: cainjector
|
||||
|
@ -664,7 +664,7 @@ apiVersion: rbac.authorization.k8s.io/v1
|
|||
kind: Role
|
||||
metadata:
|
||||
name: cert-manager:leaderelection
|
||||
namespace: {{ cert_manager_namespace }}
|
||||
namespace: {{ cert_manager_leader_election_namespace }}
|
||||
labels:
|
||||
app: cert-manager
|
||||
app.kubernetes.io/name: cert-manager
|
||||
|
@ -719,7 +719,7 @@ apiVersion: rbac.authorization.k8s.io/v1
|
|||
kind: RoleBinding
|
||||
metadata:
|
||||
name: cert-manager-cainjector:leaderelection
|
||||
namespace: {{ cert_manager_namespace }}
|
||||
namespace: {{ cert_manager_leader_election_namespace }}
|
||||
labels:
|
||||
app: cainjector
|
||||
app.kubernetes.io/name: cainjector
|
||||
|
@ -742,7 +742,7 @@ apiVersion: rbac.authorization.k8s.io/v1
|
|||
kind: RoleBinding
|
||||
metadata:
|
||||
name: cert-manager:leaderelection
|
||||
namespace: {{ cert_manager_namespace }}
|
||||
namespace: {{ cert_manager_leader_election_namespace }}
|
||||
labels:
|
||||
app: cert-manager
|
||||
app.kubernetes.io/name: cert-manager
|
||||
|
|
Loading…
Reference in a new issue