Skip to content

Commit

Permalink
add related permission for MongoDB cleanup in post DB migration (#2305)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Fan <[email protected]>
  • Loading branch information
Daniel-Fan authored Nov 15, 2024
1 parent d2dae8d commit 465c427
Showing 1 changed file with 101 additions and 28 deletions.
129 changes: 101 additions & 28 deletions cp3pt0-deployment/common/nss-managed-bedrock-core-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -849,34 +849,6 @@ rules:
- policy
resources:
- poddisruptionbudgets
- verbs:
- create
- delete
- watch
- get
- list
- patch
- update
apiGroups:
- oidc.security.ibm.com
resources:
- clients
- clients/finalizers
- clients/status
- verbs:
- create
- delete
- watch
- get
- list
- patch
- update
apiGroups:
- ''
resources:
- secrets
- services
- endpoints
- verbs:
- get
- list
Expand Down Expand Up @@ -1113,6 +1085,107 @@ rules:
- zen.cpd.ibm.com
resources:
- zenextensions
- verbs:
- create
- delete
- get
- list
- patch
- update
- watch
apiGroups:
- ''
resources:
- pods
- services
- services/finalizers
- serviceaccounts
- endpoints
- persistentvolumeclaims
- events
- configmaps
- secrets
- verbs:
- create
- delete
- get
- list
- patch
- update
- watch
apiGroups:
- apps
resources:
- deployments
- daemonsets
- replicasets
- statefulsets
- verbs:
- get
- create
apiGroups:
- monitoring.coreos.com
resources:
- servicemonitors
- verbs:
- update
apiGroups:
- apps
resources:
- deployments/finalizers
resourceNames:
- ibm-mongodb-operator
- verbs:
- create
- delete
- get
- list
- patch
- update
- watch
apiGroups:
- operator.ibm.com
resources:
- mongodbs
- mongodbs/finalizers
- mongodbs/status
- verbs:
- delete
- get
- list
- watch
apiGroups:
- certmanager.k8s.io
resources:
- certificates
- certificaterequests
- orders
- challenges
- issuers
- verbs:
- create
- delete
- get
- list
- patch
- update
- watch
apiGroups:
- cert-manager.io
resources:
- certificates
- certificaterequests
- orders
- challenges
- issuers
- verbs:
- delete
- get
- list
apiGroups:
- operator.ibm.com
resources:
- operandrequests
- verbs:
- create
- get
Expand Down

0 comments on commit 465c427

Please sign in to comment.