From 45e78958be63b0010585bc1842d02b929ce2e6e5 Mon Sep 17 00:00:00 2001 From: Leela Venkaiah G Date: Thu, 2 Nov 2023 16:51:23 +0530 Subject: [PATCH] bundle: add status reporter role and role binding - Status reporter role and role binding is missing in generated CSV bundle Signed-off-by: Leela Venkaiah G --- ...-client-operator.clusterserviceversion.yaml | 18 ++++++++++++++++++ config/rbac/kustomization.yaml | 2 ++ 2 files changed, 20 insertions(+) diff --git a/bundle/manifests/ocs-client-operator.clusterserviceversion.yaml b/bundle/manifests/ocs-client-operator.clusterserviceversion.yaml index ba75c7c7..70d49b96 100644 --- a/bundle/manifests/ocs-client-operator.clusterserviceversion.yaml +++ b/bundle/manifests/ocs-client-operator.clusterserviceversion.yaml @@ -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: @@ -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 diff --git a/config/rbac/kustomization.yaml b/config/rbac/kustomization.yaml index 1794d031..65cb2941 100644 --- a/config/rbac/kustomization.yaml +++ b/config/rbac/kustomization.yaml @@ -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