When running flux bootstrap from a drive (e.g. D:\) different from where %TEMP% lives (typically C:\), filepath.Rel fails because Go can't compute relative paths across different drive letters. The original code converted absolute paths to relative as a workaround for a kustomize bug (kubernetes-sigs/kustomize#2789) that was caused by go-getter. Since kustomize dropped go-getter in 2021, absolute paths work fine now. Instead of hard-failing when filepath.Rel errors, keep the absolute path as a fallback. Signed-off-by: Varun Chawla <varun_6april@hotmail.com>
5.4 KiB
5.4 KiB