From e1c9c59ba85adeeb3837416442f4c930170a9569 Mon Sep 17 00:00:00 2001 From: QiangChen Date: Mon, 29 Apr 2019 10:54:53 +0800 Subject: [PATCH] fix provisioner name setting error Signed-off-by: QiangChen --- examples/cephfs/storageclass.yaml | 3 ++- examples/rbd/storageclass.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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.