diff --git a/examples/rbd/groupsnapshotclass.yaml b/examples/rbd/groupsnapshotclass.yaml index 1f19c6898c8b..676a5cf5e316 100644 --- a/examples/rbd/groupsnapshotclass.yaml +++ b/examples/rbd/groupsnapshotclass.yaml @@ -3,17 +3,10 @@ apiVersion: groupsnapshot.storage.k8s.io/v1alpha1 kind: VolumeGroupSnapshotClass metadata: name: csi-rbdplugin-groupsnapclass -driver: rbd.csi.ceph.com +driver: openshift-storage.rbd.csi.ceph.com parameters: - # String representing a Ceph cluster to provision storage from. - # Should be unique across all Ceph clusters in use for provisioning, - # cannot be greater than 36 bytes in length, and should remain immutable for - # the lifetime of the StorageClass in use - clusterID: - - # eg: pool: rbdpool - pool: - - csi.storage.k8s.io/group-snapshotter-secret-name: csi-rbd-secret - csi.storage.k8s.io/group-snapshotter-secret-namespace: default + clusterID: openshift-storage + pool: ocs-storagecluster-cephblockpool + csi.storage.k8s.io/group-snapshotter-secret-name: rook-csi-rbd-provisioner + csi.storage.k8s.io/group-snapshotter-secret-namespace: openshift-storage deletionPolicy: Delete diff --git a/examples/rbd/pvc-restore.yaml b/examples/rbd/pvc-restore.yaml index 1fc76794d3b6..ca096d263fd8 100644 --- a/examples/rbd/pvc-restore.yaml +++ b/examples/rbd/pvc-restore.yaml @@ -4,9 +4,9 @@ kind: PersistentVolumeClaim metadata: name: rbd-pvc-restore spec: - storageClassName: csi-rbd-sc + storageClassName: ocs-storagecluster-ceph-rbd dataSource: - name: rbd-pvc-snapshot + name: snapshot-93c8391e95487ac9d6028dc2ca24d1ab61c2079e9bcec234c40fd65cca036dd5-2024-09-25-9.35.6 kind: VolumeSnapshot apiGroup: snapshot.storage.k8s.io accessModes: diff --git a/examples/rbd/pvc.yaml b/examples/rbd/pvc.yaml index 30e15eefa5a9..c51b901f59ba 100644 --- a/examples/rbd/pvc.yaml +++ b/examples/rbd/pvc.yaml @@ -11,4 +11,4 @@ spec: resources: requests: storage: 1Gi - storageClassName: csi-rbd-sc + storageClassName: ocs-storagecluster-ceph-rbd