local-path-provisioner
local-path-provisioner copied to clipboard
Implement function to set HostPathType by annotation
Implemented the function to set the PV hostPath type by annotation of StorageClass (defaultHostPathType) and PVC (hostPathType). If neither is specified, DirectoryOrCreate is applied by default.
If the volume should not be provisioned when the parent directory does not exist, you can set the type of hostPath Directory via annotation above.
Refs rancher#137 Refs rancher#224