fix provisioner name setting error

Signed-off-by: QiangChen <chenqiang05@saicmotor.com>
This commit is contained in:
QiangChen 2019-04-29 10:54:53 +08:00 committed by mergify[bot]
parent dbe40eae2a
commit e1c9c59ba8
2 changed files with 4 additions and 2 deletions

View File

@ -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.

View File

@ -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.