diff --git a/examples/cephfs/storageclass.yaml b/examples/cephfs/storageclass.yaml index 1ed336c22..3db1ac9ce 100644 --- a/examples/cephfs/storageclass.yaml +++ b/examples/cephfs/storageclass.yaml @@ -2,7 +2,8 @@ apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: csi-cephfs -provisioner: csi-cephfsplugin + # NOTE: provisioner name here should be specified as same as it is declared in the csi-provisioner StatefulSet or it will fail to create PV dynamically. +provisioner: cephfs.csi.ceph.com parameters: # Comma separated list of Ceph monitors # if using FQDN, make sure csi plugin's dns policy is appropriate. diff --git a/examples/rbd/storageclass.yaml b/examples/rbd/storageclass.yaml index 98960a53d..cc8915a99 100644 --- a/examples/rbd/storageclass.yaml +++ b/examples/rbd/storageclass.yaml @@ -2,7 +2,8 @@ apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: csi-rbd -provisioner: csi-rbdplugin + # NOTE: provisioner name here should be specified as same as it is declared in the csi-provisioner StatefulSet or it will fail to create PV dynamically. +provisioner: rbd.csi.ceph.com parameters: # Comma separated list of Ceph monitors # if using FQDN, make sure csi plugin's dns policy is appropriate.