diff --git a/worker/appm/types/v1/storeage_class.go b/worker/appm/types/v1/storeage_class.go index d5f207cf8..cbd660c30 100644 --- a/worker/appm/types/v1/storeage_class.go +++ b/worker/appm/types/v1/storeage_class.go @@ -55,7 +55,7 @@ func init() { ObjectMeta: metav1.ObjectMeta{ Name: RainbondStatefuleLocalStorageClass, }, - Provisioner: "rainbond.io/provisioner-slsc", + Provisioner: "rainbond.io/provisioner-sslc", VolumeBindingMode: &volumeBindingImmediate, ReclaimPolicy: &Retain, }) diff --git a/worker/master/volumes/provider/lib/controller/controller.go b/worker/master/volumes/provider/lib/controller/controller.go index f4b45886d..9584ede05 100644 --- a/worker/master/volumes/provider/lib/controller/controller.go +++ b/worker/master/volumes/provider/lib/controller/controller.go @@ -745,7 +745,6 @@ func (ctrl *ProvisionController) shouldProvision(claim *v1.PersistentVolumeClaim if claim.Spec.VolumeName != "" { return false } - logrus.Infof("should provision for claim %s", claim.Name) // Kubernetes 1.5 provisioning with annStorageProvisioner if ctrl.kubeVersion.AtLeast(utilversion.MustParseSemantic("v1.5.0")) { if provisioner, found := claim.Annotations[annStorageProvisioner]; found { diff --git a/worker/master/volumes/provider/rainbondsslc.go b/worker/master/volumes/provider/rainbondsslc.go index 96d199931..2ece5cf3c 100644 --- a/worker/master/volumes/provider/rainbondsslc.go +++ b/worker/master/volumes/provider/rainbondsslc.go @@ -178,7 +178,7 @@ func (p *rainbondsslcProvisioner) Provision(options controller.VolumeOptions) (* }, }, } - logrus.Infof("create rainbondssc pv %s for pvc %s", pv.Name, options.PVC.Name) + logrus.Infof("create rainbondsslc pv %s for pvc %s", pv.Name, options.PVC.Name) return pv, nil } diff --git a/worker/master/volumes/provider/rainbondsssc.go b/worker/master/volumes/provider/rainbondsssc.go index 76e4fd76d..8de7ebc7e 100644 --- a/worker/master/volumes/provider/rainbondsssc.go +++ b/worker/master/volumes/provider/rainbondsssc.go @@ -75,7 +75,7 @@ func (p *rainbondssscProvisioner) Provision(options controller.VolumeOptions) (* }, }, } - logrus.Infof("create rainbondssc pv %s for pvc %s", pv.Name, options.PVC.Name) + logrus.Infof("create rainbondsssc pv %s for pvc %s", pv.Name, options.PVC.Name) return pv, nil }