gardener / gardener-extension-provider-azure

Gardener extension controller for the Azure cloud provider (https://azure.microsoft.com).
https://gardener.cloud
Apache License 2.0
10 stars 78 forks source link

rm failing preStop hook #912

Closed AndreasBurger closed 2 months ago

AndreasBurger commented 3 months ago

How to categorize this PR? /area storage /kind bug /platform azure

What this PR does / why we need it: This PR removes the failing preStop lifecycle hook from the node-driver-registrar container in csi-driver-node daemonset.yaml. The distroless registrar image lacks /bin/sh, causing the hook to fail. Socket removal is now handled internally by the registrar, eliminating the need for the hook (see kubernetes-csi/node-driver-registrar#61).

Special notes for your reviewer: This is https://github.com/gardener/gardener-extension-provider-gcp/pull/792 for Azure

Release note:

Removed unnecessary preStop hook from `node-driver-registrar` in `csi-driver-node`, as socket removal is now handled internally by `node-driver-registrar`, resolving distroless image error.