local-path-provisioner
local-path-provisioner copied to clipboard
Fix: hostname label != node name results in cleanup HelperPod not being scheduled
In situations where the hostname has been overriden through the kubelets --hostname-override flag or when the node name is a FQDN and kubelet takes the default hostname of the node (non-FQDN). Although creation of PV's will work just fine, the cleanup of said PV fails as the value for the node name given to the Delete HelperPod is taken from the hostname label affinity.
@rcasaleiro Can you help resolve the conflict?
See #413 and attached PR.