mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-27 09:54:58 +00:00
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> |
||
|---|---|---|
| .. | ||
| kustomization.go | ||
| options.go | ||