Skip to content

Commit

Permalink
bundle: Modify the name and reference of the sample storagesystem
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
iamniting authored and openshift-cherrypick-robot committed Feb 9, 2024
1 parent 1ff064d commit 631393d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions bundle/manifests/odf-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,25 @@ 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"
}
},
{
"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"
}
}
Expand All @@ -35,7 +35,7 @@ metadata:
categories: Storage
console.openshift.io/plugins: '["odf-console"]'
containerImage: quay.io/ocs-dev/odf-operator:latest
createdAt: "2023-12-12T05:53:20Z"
createdAt: "2024-02-09T04:53:49Z"
description: OpenShift Data Foundation provides a common control plane for storage
solutions on OpenShift Container Platform.
features.operators.openshift.io/token-auth-aws: "true"
Expand Down
4 changes: 2 additions & 2 deletions config/samples/ibm-flashsystemcluster-storagesystem.yaml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions config/samples/ocs-storagecluster-storagesystem.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 631393d

Please sign in to comment.