Description
As per the current code we expect /var/lib/kubelet/plugins_registry/
to be mounted as /registration
. This works well when node-driver-registrar
runs as sidecar container or as a pod. We have a usecase to run node-driver-registrar as systemd process to support csi driver for specific set of worker nodes (aws/containers-roadmap#826). Therefore, instead of hardcoding /registartion
would be helpful if we can read this value from a parameter. If the new parameter is empty then it can default to /registration
Would like to get community feedback on whether this is acceptable or is the node-driver-registrar designed to run only as side-car container?. if we decide to add new parameter then naming might be a difficult part I think, given that we already have parameter named kubelet-registrataion-path
which points to csi socket path.