local-path-provisioner
local-path-provisioner copied to clipboard
Allow parameters block for StorageClass
Documentation around parameters block for storageClass - https://kubernetes.io/docs/concepts/storage/storage-classes/#parameters
For our use-case we wanted the volume to be of xfs file system and we were able to achieve it with this block -
parameters:
fsType: xfs
So, I am adding a way in helm chart to specify parameters block for the storageClass.
@mdfaizsiddiqui
local-path-provisioner actually creates a directory on a local filesystem (it can be xfs, ext4 and so one), so the fsType seems not really used.
Can you elaborate more on the fsType? Thank you.
this is also useful if you want to achieve other things, like eg. limiting default storageClass to some nodePath:
parameters:
nodePath: /srv/k8s/pv/default
@mdfaizsiddiqui Can you help resolve the conflicts? Thank you.
@mdfaizsiddiqui Can you help resolve the conflicts? Thank you.
Hey, I've fixed all the conflicts, but due to this new change I had to move the parameter introduced as part of @AlbanBedel PR to the new parameters section.
@derekbit can you help merge this PR, thanks.
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.
This PR was closed because it has been stalled for 10 days with no activity.