Stefan Prodan
79fed691ca
Update CLI to OCIRepository v1 (GA)
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2025-05-28 15:12:17 +03:00
Stefan Prodan
8816c5f7de
Update to Kubernetes 1.33.0 and Go 1.24.0
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2025-04-28 15:02:33 +03:00
Stefan Prodan
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
Stefan Prodan
c7daf6466f
Promote bucket commands to GA
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2024-09-27 17:01:21 +03:00
Viktor Nagy
fabdbaaf92
Introduce visibility flag for bootstrap gitlab
...
Signed-off-by: Viktor Nagy <vnagy@gitlab.com >
2024-07-17 20:22:25 +02:00
Stefan Prodan
aae086c508
Migrate flux uninstall to Helm Source API v1
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2024-05-06 15:43:10 +03:00
Stefan Prodan
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
Stuebinger, Bernd
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
Joel Bennett
cdcf332491
Correct "sync" to "component" in log lines
...
Signed-off-by: Joel Bennett <Jaykul@HuddledMasses.org >
2023-12-12 12:01:14 +01:00
Somtochi Onyekwere
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
Stefan Prodan
80efd29ec0
Update dependencies
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2023-11-20 15:27:46 +02:00
Jabar Asadi
dcbca6b1bf
feat: add gitea bootstrapper
...
Signed-off-by: Jabar Asadi <jasadi@d2iq.com >
2023-11-01 15:46:42 +01:00
Hidde Beydals
3fdb292381
misc: address wait.PollImmediate deprecation
...
Signed-off-by: Hidde Beydals <hidde@hhh.computer >
2023-10-17 14:08:09 +02:00
Hidde Beydals
ce3e264c7d
misc: unconditional strings.TrimPrefix
...
Signed-off-by: Hidde Beydals <hidde@hhh.computer >
2023-10-17 14:08:07 +02:00
Hidde Beydals
3c495861a1
misc: address unnecessary use of fmt.Sprintf
...
Signed-off-by: Hidde Beydals <hidde@hhh.computer >
2023-10-17 14:08:02 +02:00
Somtochi Onyekwere
08cb3858ed
Update go-git-providers to v0.19.1
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com >
2023-10-12 11:48:05 +01:00
Max Jonas Werner
ce854236cf
Annotate errors from go-git-providers
...
closes #3623
Signed-off-by: Max Jonas Werner <mail@makk.es >
2023-07-03 13:55:53 +02:00
Stefan Prodan
41cdd3dcf7
Update Git packages
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2023-05-29 14:13:56 +03:00
Stefan Prodan
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
Sanskar Jaiswal
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
Max Jonas Werner
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
Somtochi Onyekwere
24452ecd37
Update GitRepository Receiver, and Kustomization to v1
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com >
2023-04-05 16:05:20 +03:00
Timo Furrer
2e1721ca85
Implement --deploy-token-auth in GitLab bootstrapping
...
This change set implements support for the `--deploy-token-auth` option
in the `flux bootstrap gitlab` command.
That option will reconcile a GitLab Project Deploy Token to use for the
authentication of the GitLab git repository.
A GitLab Project Deploy Token can be used the same way as a Personal
Access Token which is already supported via `--token-auth`.
The difference with the GitLab Project Deploy Token is that the token is
managed (created, updated, deleted) by Flux and not provided by the
user.
This change is transparent to the source-controller.
A prerequisite for this change is the
`fluxcd/go-git-providers` change here:
* https://github.com/fluxcd/go-git-providers/pull/191
See related discussion here: https://github.com/fluxcd/flux2/discussions/3595
GitLab Issue here: https://gitlab.com/gitlab-org/gitlab/-/issues/392605
Signed-off-by: Timo Furrer <tuxtimo@gmail.com >
2023-03-21 14:03:09 +01:00
Hidde Beydals
71d59e36cc
bootstrap: support legacy revision while polling
...
Signed-off-by: Hidde Beydals <hello@hidde.co >
2023-02-17 12:48:55 +01:00
Sanskar Jaiswal
f8da3a1b44
make gpg signing more robust for bootstrap
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
2022-11-17 17:30:49 +05:30
Sanskar Jaiswal
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
Sanskar Jaiswal
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
Philip Laine
a4734d7e30
Remove file reading from bootstrap package
...
Signed-off-by: Philip Laine <philip.laine@gmail.com >
2022-11-04 15:23:08 +01:00
Philip Laine
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