local-path-provisioner icon indicating copy to clipboard operation
local-path-provisioner copied to clipboard

Implement function to set HostPathType by annotation

Open kn3609571 opened this issue 1 year ago • 0 comments

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

kn3609571 avatar Dec 28 '23 10:12 kn3609571