fluxcd-flux2/pkg/manifestgen
Rafael Peroco 566bbe6e00 fix: return clear error when --private-key-file path starts with '~'
The tilde character is expanded by the shell, not by the Flux CLI, so
paths like ~/.ssh/id_ecdsa passed with =value syntax were opened
verbatim and failed with a confusing "no such file or directory" error.
Detect the leading '~' up front and surface a message pointing users at
absolute paths or $HOME instead. Fixes #5591.

Signed-off-by: Rafael Peroco <rafaelperoco@gmail.com>
2026-04-21 16:38:34 -03: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 fix: return clear error when --private-key-file path starts with '~' 2026-04-21 16:38:34 -03: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