From 147fcbb137b4c3b0af2246ab2715253864c1d44c Mon Sep 17 00:00:00 2001 From: Rewant Soni Date: Tue, 11 Jun 2024 11:12:02 +0530 Subject: [PATCH] bundle: add annotation to csv to make storageclaim internal add the annotation operators.operatorframework.io/internal-objects to the operator csv to make storageClaim internal/ to remove it from the console Fix: https://bugzilla.redhat.com/show_bug.cgi?id=2291182 Signed-off-by: Rewant Soni --- .../manifests/ocs-client-operator.clusterserviceversion.yaml | 3 ++- .../bases/ocs-client-operator.clusterserviceversion.yaml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bundle/manifests/ocs-client-operator.clusterserviceversion.yaml b/bundle/manifests/ocs-client-operator.clusterserviceversion.yaml index 4a6b78a0..d149dea6 100644 --- a/bundle/manifests/ocs-client-operator.clusterserviceversion.yaml +++ b/bundle/manifests/ocs-client-operator.clusterserviceversion.yaml @@ -7,13 +7,14 @@ metadata: categories: Storage console.openshift.io/plugins: '["odf-client-console"]' containerImage: quay.io/ocs-dev/ocs-client-operator:latest - createdAt: "2024-05-30T10:17:44Z" + createdAt: "2024-06-11T05:34:18Z" description: OpenShift Data Foundation client operator enables consumption of storage services from a remote centralized OpenShift Data Foundation provider cluster. olm.skipRange: "" operatorframework.io/suggested-namespace: openshift-storage operators.operatorframework.io/builder: operator-sdk-v1.34.1 + operators.operatorframework.io/internal-objects: '["storageclaims.ocs.openshift.io"]' operators.operatorframework.io/operator-type: standalone operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 repository: https://github.com/red-hat-storage/ocs-client-operator diff --git a/config/manifests/bases/ocs-client-operator.clusterserviceversion.yaml b/config/manifests/bases/ocs-client-operator.clusterserviceversion.yaml index 56300ab0..1b2e73af 100644 --- a/config/manifests/bases/ocs-client-operator.clusterserviceversion.yaml +++ b/config/manifests/bases/ocs-client-operator.clusterserviceversion.yaml @@ -11,6 +11,7 @@ metadata: storage services from a remote centralized OpenShift Data Foundation provider cluster. operatorframework.io/suggested-namespace: openshift-storage + operators.operatorframework.io/internal-objects: '["storageclaims.ocs.openshift.io"]' operators.operatorframework.io/operator-type: standalone repository: https://github.com/red-hat-storage/ocs-client-operator support: Red Hat