From 40ed0208e3ba704473831eadbc34d7e1c7c52d5d Mon Sep 17 00:00:00 2001 From: Nitin Goyal Date: Fri, 9 Feb 2024 10:24:14 +0530 Subject: [PATCH] bundle: Modify the name and reference of the sample storagesystem In certain instances customers unintentionally create two storagesystems to the same storagecluster. This becomes problematic when attempting to delete one storagesystem, as it triggers the deletion of the associated storagecluster. By changing the name and reference, we aim to prevent this issue from occurring. It will make sure that even if they create the storagesystem from the OCP console it wont refer to the same storagecluster. Signed-off-by: Nitin Goyal --- bundle/manifests/odf-operator.clusterserviceversion.yaml | 8 ++++---- config/samples/ibm-flashsystemcluster-storagesystem.yaml | 4 ++-- config/samples/ocs-storagecluster-storagesystem.yaml | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bundle/manifests/odf-operator.clusterserviceversion.yaml b/bundle/manifests/odf-operator.clusterserviceversion.yaml index 681c6fba8..cdb90dba8 100644 --- a/bundle/manifests/odf-operator.clusterserviceversion.yaml +++ b/bundle/manifests/odf-operator.clusterserviceversion.yaml @@ -8,12 +8,12 @@ metadata: "apiVersion": "odf.openshift.io/v1alpha1", "kind": "StorageSystem", "metadata": { - "name": "ibm-flashsystemcluster-storagesystem", + "name": "my-flashsystemcluster-storagesystem", "namespace": "openshift-storage" }, "spec": { "kind": "flashsystemcluster.odf.ibm.com/v1alpha1", - "name": "ibm-flashsystemcluster", + "name": "my-flashsystemcluster", "namespace": "openshift-storage" } }, @@ -21,12 +21,12 @@ metadata: "apiVersion": "odf.openshift.io/v1alpha1", "kind": "StorageSystem", "metadata": { - "name": "ocs-storagecluster-storagesystem", + "name": "my-storagecluster-storagesystem", "namespace": "openshift-storage" }, "spec": { "kind": "storagecluster.ocs.openshift.io/v1", - "name": "ocs-storagecluster", + "name": "my-storagecluster", "namespace": "openshift-storage" } } diff --git a/config/samples/ibm-flashsystemcluster-storagesystem.yaml b/config/samples/ibm-flashsystemcluster-storagesystem.yaml index 6e112dfc2..2da90e7ab 100644 --- a/config/samples/ibm-flashsystemcluster-storagesystem.yaml +++ b/config/samples/ibm-flashsystemcluster-storagesystem.yaml @@ -1,9 +1,9 @@ apiVersion: odf.openshift.io/v1alpha1 kind: StorageSystem metadata: - name: ibm-flashsystemcluster-storagesystem + name: my-flashsystemcluster-storagesystem namespace: openshift-storage spec: kind: flashsystemcluster.odf.ibm.com/v1alpha1 - name: ibm-flashsystemcluster + name: my-flashsystemcluster namespace: openshift-storage diff --git a/config/samples/ocs-storagecluster-storagesystem.yaml b/config/samples/ocs-storagecluster-storagesystem.yaml index 06e37e396..8c8368270 100644 --- a/config/samples/ocs-storagecluster-storagesystem.yaml +++ b/config/samples/ocs-storagecluster-storagesystem.yaml @@ -1,9 +1,9 @@ apiVersion: odf.openshift.io/v1alpha1 kind: StorageSystem metadata: - name: ocs-storagecluster-storagesystem + name: my-storagecluster-storagesystem namespace: openshift-storage spec: kind: storagecluster.ocs.openshift.io/v1 - name: ocs-storagecluster + name: my-storagecluster namespace: openshift-storage