fluxcd-flux2/pkg/manifestgen
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
..
install Use RUNTIME_NAMESPACE when setting --events-addr 2025-10-07 20:47:37 +03:00
kustomization Fix bootstrap failure on Windows when working directory is on different drive than TEMP 2026-02-22 20:27:12 -08:00
sourcesecret Introduce support for looking up GH app installation ID 2026-01-19 12:03:08 +00:00
sync Add /v2 suffix to module name in preparation of 2.0.0 release 2023-04-05 16:05:21 +03:00
doc.go Rename gotk binary to flux 2020-10-29 16:25:16 +01:00
labels.go Switch to app.kubernetes.io/part-of label selector 2021-11-01 18:02:49 +02:00
manifest.go fix some comments 2023-05-01 18:05:10 +02:00
tmpdir.go modify tmp dir generation to be absolute on all OSes 2022-05-04 15:13:39 +05:30