mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
kube::util:ensure-temp-dir claims that it will automatically clean it up. But it obviously doesn't. Since we cannot add multiple trap in bash add a function that lets us trap and clean up KUBE_TEMP even if someone already set a trap.