From 2fe51613247fbe336e4c237512b31095412ed97e Mon Sep 17 00:00:00 2001 From: oviner Date: Thu, 29 Aug 2024 15:58:45 +0300 Subject: [PATCH] Delete console.openshift.io group Signed-off-by: oviner --- config/rbac/role.yaml | 6 ------ controllers/storagecluster/reconcile.go | 1 - deploy/csv-templates/ocs-operator.csv.yaml.in | 6 ------ .../manifests/ocs-operator.clusterserviceversion.yaml | 6 ------ 4 files changed, 19 deletions(-) diff --git a/config/rbac/role.yaml b/config/rbac/role.yaml index a8cb9903ae..2c8c4cc15b 100644 --- a/config/rbac/role.yaml +++ b/config/rbac/role.yaml @@ -108,12 +108,6 @@ rules: - get - list - watch -- apiGroups: - - console.openshift.io - resources: - - consolequickstarts - verbs: - - '*' - apiGroups: - coordination.k8s.io resources: diff --git a/controllers/storagecluster/reconcile.go b/controllers/storagecluster/reconcile.go index 699cc656b4..fdee7973e2 100644 --- a/controllers/storagecluster/reconcile.go +++ b/controllers/storagecluster/reconcile.go @@ -118,7 +118,6 @@ var validTopologyLabelKeys = []string{ // +kubebuilder:rbac:groups=template.openshift.io,resources=templates,verbs=* // +kubebuilder:rbac:groups=config.openshift.io,resources=infrastructures;networks,verbs=get;list;watch // +kubebuilder:rbac:groups=config.openshift.io,resources=clusterversions;networks,verbs=get;list;watch -// +kubebuilder:rbac:groups=console.openshift.io,resources=consolequickstarts,verbs=* // +kubebuilder:rbac:groups=apiextensions.k8s.io,resources=customresourcedefinitions,verbs=get;list;watch;create;update // +kubebuilder:rbac:groups=route.openshift.io,resources=routes,verbs=* // +kubebuilder:rbac:groups=coordination.k8s.io,resources=leases,verbs=get;list;create;update diff --git a/deploy/csv-templates/ocs-operator.csv.yaml.in b/deploy/csv-templates/ocs-operator.csv.yaml.in index eabea619a9..ad97c0c11d 100644 --- a/deploy/csv-templates/ocs-operator.csv.yaml.in +++ b/deploy/csv-templates/ocs-operator.csv.yaml.in @@ -279,12 +279,6 @@ spec: - get - list - watch - - apiGroups: - - console.openshift.io - resources: - - consolequickstarts - verbs: - - '*' - apiGroups: - coordination.k8s.io resources: diff --git a/deploy/ocs-operator/manifests/ocs-operator.clusterserviceversion.yaml b/deploy/ocs-operator/manifests/ocs-operator.clusterserviceversion.yaml index 09b660ec8c..8ded3cd698 100644 --- a/deploy/ocs-operator/manifests/ocs-operator.clusterserviceversion.yaml +++ b/deploy/ocs-operator/manifests/ocs-operator.clusterserviceversion.yaml @@ -288,12 +288,6 @@ spec: - get - list - watch - - apiGroups: - - console.openshift.io - resources: - - consolequickstarts - verbs: - - '*' - apiGroups: - coordination.k8s.io resources: