description:"Deploy either the CSI or FlexVolume driver. CSI is newer but requires MountPropagation, a feature enabled by default in Kubernetes v1.10 and later"
type:enum
options:
- csi
- flexvolume
label:Longhorn Kubernetes Driver
group:"Longhorn Settings"
show_subquestion_if:flexvolume
subquestions:
- variable:persistence.flexvolumePath
default:""
description:"Leave blank to autodetect. For RKE, use `/var/lib/kubelet/volumeplugins`. For GKE, use `/home/kubernetes/flexvolume/` instead. Users can find the correct directory by running `ps aux|grep kubelet` on the host and check the --volume-plugin-dir parameter. If there is none, the default `/usr/libexec/kubernetes/kubelet-plugins/volume/exec/` will be used."
type:string
label:Longhorn Flexvolume Path
show_subquestion_if:csi
subquestions:
- variable:csi.attacherImage
default:
description:"Specify CSI attacher image. Leave blank to autodetect."
type:string
label:Longhorn CSI Attacher Image
- variable:csi.provisionerImage
default:
description:"Specify CSI provisioner image. Leave blank to autodetect."
type:string
label:Longhorn CSI Provisioner Image
- variable:csi.driverRegistrarImage
default:
description:"Specify CSI Driver Registrar image. Leave blank to autodetect."