diff --git a/charts/manila-csi-plugin/templates/nodeplugin-daemonset.yaml b/charts/manila-csi-plugin/templates/nodeplugin-daemonset.yaml index d540c412d3..a5962874b3 100644 --- a/charts/manila-csi-plugin/templates/nodeplugin-daemonset.yaml +++ b/charts/manila-csi-plugin/templates/nodeplugin-daemonset.yaml @@ -33,14 +33,6 @@ spec: args: - "--csi-address=/csi/csi.sock" - "--kubelet-registration-path=/var/lib/kubelet/plugins/{{ printf "%s.%s" .protocolSelector $.Values.driverName | lower }}/csi.sock" - lifecycle: - preStop: - exec: - command: [ - "/bin/sh", "-c", - 'rm -rf /registration/{{ printf "%s.%s" .protocolSelector $.Values.driverName | lower }} - /registration/{{ printf "%s.%s" .protocolSelector $.Values.driverName | lower }}-reg.sock' - ] env: - name: KUBE_NODE_NAME valueFrom: