Skip to content

Commit e865c86

Browse files
committed
Add a new role to manage the secret in the openshift-config-managed namespace
1 parent 884dbce commit e865c86

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
@@ -365,3 +365,42 @@ subjects:
365365
roleRef:
366366
kind: Role
367367
name: insights-operator-obfuscation-secret
368+
---
369+
apiVersion: rbac.authorization.k8s.io/v1
370+
kind: Role
371+
metadata:
372+
name: insights-operator-etc-pki-entitlement
373+
namespace: openshift-config-managed
374+
annotations:
375+
include.release.openshift.io/self-managed-high-availability: "true"
376+
include.release.openshift.io/ibm-cloud-managed: "true"
377+
include.release.openshift.io/single-node-developer: "true"
378+
rules:
379+
- apiGroups:
380+
- ''
381+
resources:
382+
- secrets
383+
verbs:
384+
- create
385+
- get
386+
- watch
387+
- list
388+
- delete
389+
- update
390+
---
391+
kind: RoleBinding
392+
apiVersion: rbac.authorization.k8s.io/v1
393+
metadata:
394+
name: insights-operator-etc-pki-entitlement
395+
namespace: openshift-config-managed
396+
annotations:
397+
include.release.openshift.io/self-managed-high-availability: "true"
398+
include.release.openshift.io/ibm-cloud-managed: "true"
399+
include.release.openshift.io/single-node-developer: "true"
400+
subjects:
401+
- kind: ServiceAccount
402+
name: operator
403+
namespace: openshift-insights
404+
roleRef:
405+
kind: Role
406+
name: insights-operator-etc-pki-entitlement

0 commit comments

Comments
 (0)