Skip to content

Commit

Permalink
bundle: add status reporter role and role binding
Browse files Browse the repository at this point in the history
- Status reporter role and role binding is missing in generated CSV bundle

Signed-off-by: Leela Venkaiah G <[email protected]>
  • Loading branch information
leelavg committed Nov 2, 2023
1 parent 0ccd859 commit 45e7895
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
18 changes: 18 additions & 0 deletions bundle/manifests/ocs-client-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,14 @@ spec:
- get
- list
- update
- apiGroups:
- config.openshift.io
resources:
- clusterversions
verbs:
- get
- list
- watch
serviceAccountName: ocs-client-operator-status-reporter
deployments:
- label:
Expand Down Expand Up @@ -886,6 +894,16 @@ spec:
verbs:
- create
serviceAccountName: ocs-client-operator-csi-rbd-provisioner-sa
- rules:
- apiGroups:
- operators.coreos.com
resources:
- clusterserviceversions
verbs:
- get
- list
- watch
serviceAccountName: ocs-client-operator-status-reporter
strategy: deployment
installModes:
- supported: true
Expand Down
2 changes: 2 additions & 0 deletions config/rbac/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ resources:
- status-reporter-sa.yaml
- status-reporter-clusterrole.yaml
- status-reporter-clusterrole_binding.yaml
- status-reporter-role.yaml
- status-reporter-role_binding.yaml
# CSI RBAC
- csi_cephfs_plugin_clusterrole.yaml
- csi_cephfs_plugin_clusterrole_binding.yaml
Expand Down

0 comments on commit 45e7895

Please sign in to comment.