Skip to content

Commit 77bf120

Browse files
committed
Add a new role to manage the secret in the openshift-config-managed namespace
1 parent 928167e commit 77bf120

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

manifests/03-clusterrole.yaml

+39
Original file line numberDiff line numberDiff line change
@@ -393,3 +393,42 @@ subjects:
393393
roleRef:
394394
kind: Role
395395
name: insights-operator-obfuscation-secret
396+
---
397+
apiVersion: rbac.authorization.k8s.io/v1
398+
kind: Role
399+
metadata:
400+
name: insights-operator-etc-pki-entitlement
401+
namespace: openshift-config-managed
402+
annotations:
403+
include.release.openshift.io/self-managed-high-availability: "true"
404+
include.release.openshift.io/ibm-cloud-managed: "true"
405+
include.release.openshift.io/single-node-developer: "true"
406+
rules:
407+
- apiGroups:
408+
- ''
409+
resources:
410+
- secrets
411+
verbs:
412+
- create
413+
- get
414+
- watch
415+
- list
416+
- delete
417+
- update
418+
---
419+
kind: RoleBinding
420+
apiVersion: rbac.authorization.k8s.io/v1
421+
metadata:
422+
name: insights-operator-etc-pki-entitlement
423+
namespace: openshift-config-managed
424+
annotations:
425+
include.release.openshift.io/self-managed-high-availability: "true"
426+
include.release.openshift.io/ibm-cloud-managed: "true"
427+
include.release.openshift.io/single-node-developer: "true"
428+
subjects:
429+
- kind: ServiceAccount
430+
name: operator
431+
namespace: openshift-insights
432+
roleRef:
433+
kind: Role
434+
name: insights-operator-etc-pki-entitlement

0 commit comments

Comments
 (0)