8b95a09319
Migrate sourcesecret package to runtime/secrets APIs
...
The sourcesecret package now uses pkg/runtime/secrets factory
functions instead of the previous monolithic approach. This
provides standardized secret generation with consistent
validation and error handling across all authentication types.
Signed-off-by: cappyzawa <cappyzawa@gmail.com>
2025-07-29 22:50:56 +09:00
a3dbf31e87
Remove TLS deprecated flags from flux create secret
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-09-27 19:54:11 +03:00
05903e2171
Generate image pull secret at bootstrap
...
Add an optional flag called `--registry-creds` to the bootstrap
command for generating an image pull secret for container images
stored in private registries.
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2024-04-05 16:42:15 +03:00
b93d4a4a17
Fix typo in bootstrap_plain_git.go
...
Signed-off-by: Bernd Stübinger <41049452+stuebingerb@users.noreply.github.com>
2023-12-19 17:34:12 +01:00
cdcf332491
Correct "sync" to "component" in log lines
...
Signed-off-by: Joel Bennett <Jaykul@HuddledMasses.org>
2023-12-12 12:01:14 +01:00
2289c6cc60
bootstrap: provide better error message on timeout
...
Check GitRepository and return Ready condition message as part of error
on timeout.
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2023-12-08 19:00:01 +05:30
80efd29ec0
Update dependencies
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-11-20 15:27:46 +02:00
3fdb292381
misc: address wait.PollImmediate deprecation
...
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-10-17 14:08:09 +02:00
ce3e264c7d
misc: unconditional strings.TrimPrefix
...
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-10-17 14:08:07 +02:00
3c495861a1
misc: address unnecessary use of fmt.Sprintf
...
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
2023-10-17 14:08:02 +02:00
41cdd3dcf7
Update Git packages
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-05-29 14:13:56 +03:00
13ff4afaa4
Update Kubernetes to v1.27 and Kustomize to v5.0
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2023-05-23 18:49:47 +03:00
08370cb3a6
clean dir before cloning git repo
...
Remove all files/subdirs from the directory we are cloning into. This is
needed because go-git returns a `repository already exists` error if
the directory is non-empty, which is possible since we retry cloning
(into the same dir) if the first attempt fails.
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2023-04-12 14:29:45 +05:30
52acac1a37
Add /v2 suffix to module name in preparation of 2.0.0 release
...
Signed-off-by: Max Jonas Werner <mail@makk.es>
2023-04-05 16:05:21 +03:00
24452ecd37
Update GitRepository Receiver, and Kustomization to v1
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2023-04-05 16:05:20 +03:00
71d59e36cc
bootstrap: support legacy revision while polling
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2023-02-17 12:48:55 +01:00
f8da3a1b44
make gpg signing more robust for bootstrap
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2022-11-17 17:30:49 +05:30
4ea253220a
use fluxcd/go-git instead of go-git/go-git directly
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2022-11-17 17:30:49 +05:30
0a5048a56b
refactor bootstrap process to use fluxcd/pkg/git
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2022-11-17 17:30:49 +05:30
a4734d7e30
Remove file reading from bootstrap package
...
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2022-11-04 15:23:08 +01:00
0343575146
Move bootstrap package from internal to pkg
...
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2022-10-21 11:54:28 +02:00