fluxcd-flux2/pkg
Varun Chawla 5e5ee73046
Fix bootstrap failure on Windows when working directory is on different drive than TEMP
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>
2026-02-22 20:27:12 -08:00
..
bootstrap Update toolkit components 2025-09-15 17:33:20 +01:00
log Add discard logger 2022-10-12 11:55:00 +02:00
manifestgen Fix bootstrap failure on Windows when working directory is on different drive than TEMP 2026-02-22 20:27:12 -08:00
printers misc: simplify row append 2023-10-17 14:08:06 +02:00
status bootstrap: provide better error message on timeout 2023-12-08 19:00:01 +05:30
uninstall Remove ArtifactGenerators during uninstall 2025-09-23 14:41:50 +03:00