Skip to content

Commit

Permalink
monitoring-plugin: rbac for consoleplugins
Browse files Browse the repository at this point in the history
  • Loading branch information
sthaha committed Jun 7, 2023
1 parent 679f85f commit 0214352
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 23 deletions.
6 changes: 0 additions & 6 deletions jsonnet/components/cluster-monitoring-operator.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -299,12 +299,6 @@ function(params) {
resources: ['persistentvolumeclaims'],
verbs: ['get', 'list', 'watch', 'update', 'delete'],
},
// CMO needs permissions to create and update console plugin
{
apiGroups: ['console.openshift.io'],
resources: ['consoleplugins'],
verbs: ['get', 'list', 'watch', 'create', 'update', 'delete'],
},

],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,3 @@ rules:
- watch
- update
- delete
- apiGroups:
- console.openshift.io
resources:
- consoleplugins
verbs:
- get
- list
- watch
- create
- update
- delete
6 changes: 0 additions & 6 deletions manifests/0000_50_cluster-monitoring-operator_02-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,6 @@ rules:
- consoles
verbs:
- get
<<<<<<< HEAD
- list
- update
- patch
=======
- patch
- apiGroups:
- console.openshift.io
Expand All @@ -182,7 +177,6 @@ rules:
- get
- create
- update
>>>>>>> 4431403e (gnen)
- apiGroups:
- authentication.k8s.io
resources:
Expand Down

0 comments on commit 0214352

Please sign in to comment.