diff --git a/provisioner.go b/provisioner.go index b3380e7224008157166ed4d03cf95d41475ed895..0afbbfe768438a8ee22f5bc4b7083fc63f926798 100644 --- a/provisioner.go +++ b/provisioner.go @@ -202,7 +202,7 @@ func (p *LocalPathProvisioner) Provision(opts pvController.ProvisionOptions) (*v } fs := v1.PersistentVolumeFilesystem - hostPathType := v1.HostPathDirectoryOrCreate + hostPathType := v1.HostPathDirectory return &v1.PersistentVolume{ ObjectMeta: metav1.ObjectMeta{ Name: name,