Remove failing preStop lifecycle hook in node-driver-registrar container from csi-driver-node daemonset.yaml
Details
The distroless node-driver-registrar image lacks /bin/sh, causing the preStop hook to consistently fail. The registrar now handles the removal of the registration socket itself (see kubernetes-csi/node-driver-registrar#61), eliminating the need for the failing hook.
Summary
Remove failing
preStop
lifecycle hook innode-driver-registrar
container fromcsi-driver-node
daemonset.yamlDetails
The distroless
node-driver-registrar
image lacks/bin/sh
, causing thepreStop
hook to consistently fail. The registrar now handles the removal of the registration socket itself (see kubernetes-csi/node-driver-registrar#61), eliminating the need for the failing hook.Reference: https://github.com/kubernetes-csi/csi-driver-host-path/issues/175