Skip to content

Commit 6d564d3

Browse files
committed
Integrate cert-manager role/rolebinding to the existing installation files
Co-authored-by: Kate Stanley <11195226+katheris@users.noreply.github.com> Signed-off-by: Gantigmaa Selenge <tina.selenge@gmail.com>
1 parent d70fde4 commit 6d564d3

7 files changed

Lines changed: 38 additions & 56 deletions

File tree

documentation/modules/security/proc-using-cert-manager.adoc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ It is planned to move to GA after 1 or 2 releases.
2222

2323
.Procedure
2424

25-
. Apply the RBAC resources required for cert-manager integration.
26-
+
27-
[source,shell,subs="+quotes"]
28-
kubectl apply -f packaging/install/cert-manager/
29-
3025
. Create a `Secret` containing the CA certificate that Strimzi should trust.
3126
+
3227
[source,shell,subs="+quotes"]

packaging/helm-charts/helm3/strimzi-kafka-operator/templates/020-ClusterRole-strimzi-cluster-operator-role.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,4 +181,20 @@ rules:
181181
- delete
182182
- patch
183183
- update
184+
- apiGroups:
185+
- "cert-manager.io"
186+
resources:
187+
- certificates
188+
verbs:
189+
- get
190+
- create
191+
- delete
192+
- patch
193+
- update
194+
- apiGroups:
195+
- "cert-manager.io"
196+
resources:
197+
- certificates/status
198+
verbs:
199+
- get
184200
{{- end -}}

packaging/install/cert-manager/010-ClusterRole.yaml

Lines changed: 0 additions & 20 deletions
This file was deleted.

packaging/install/cert-manager/020-ClusterRoleBinding.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

packaging/install/cert-manager/030-RoleBinding.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

packaging/install/cluster-operator/020-ClusterRole-strimzi-cluster-operator-role.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,3 +176,19 @@ rules:
176176
- delete
177177
- patch
178178
- update
179+
- apiGroups:
180+
- "cert-manager.io"
181+
resources:
182+
- certificates
183+
verbs:
184+
- get
185+
- create
186+
- delete
187+
- patch
188+
- update
189+
- apiGroups:
190+
- "cert-manager.io"
191+
resources:
192+
- certificates/status
193+
verbs:
194+
- get

packaging/install/user-operator/02-Role-strimzi-user-operator.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,15 @@ rules:
4747
- "cert-manager.io"
4848
resources:
4949
- certificates
50-
- certificates/status
5150
verbs:
5251
- get
53-
- list
54-
- watch
5552
- create
5653
- delete
5754
- patch
5855
- update
56+
- apiGroups:
57+
- "cert-manager.io"
58+
resources:
59+
- certificates/status
60+
verbs:
61+
- get

0 commit comments

Comments
 (0)