Horacio Granillo
799848c2a0
Fix break lines in create helmrelease and source
...
Signed-off-by: Horacio Granillo <horacio.granillo@smarttra.de>
2 years ago
Matheus Pimenta
56d265ae11
Add OCI provider option to create Helm source command
...
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2 years ago
Sanskar Jaiswal
97b064be13
add a preview note for all non-bootstrap commands
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2 years ago
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>
2 years ago
Philip Laine
a4734d7e30
Remove file reading from bootstrap package
...
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2 years ago
Max Jonas Werner
e19ea796b1
Add OCI support to `create source helm`
...
closes #2774
Signed-off-by: Max Jonas Werner <mail@makk.es>
3 years ago
Stefan Prodan
0d8194c800
Add the kube client qps and burst to the global args
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
3 years ago
Hidde Beydals
3edcd16b62
fix: wait for Source objects observed generation
...
This ensures the command will wait for the object to report a Ready
Condition with an ObservedGeneration matching the Generation of the
resource. Ensuring that when a "create" is actually a mutation, it waits
instead of prematurely assuming the Source to be Ready.
Signed-off-by: Hidde Beydals <hello@hidde.co>
3 years ago
Paulo Gomes
e5ede275f8
Update Source API to v1beta2
...
The creation of oldConditions, statusableConditions and
reconcilableConditions is an adhoc solution to deal with the upstream
changes on `pkg/apis/meta`, which are yet to be replicated across other
Flux API components.
Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
3 years ago
Somtochi Onyekwere
d7129d6b55
Remove validation from sub-commands
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
3 years ago
Jakob Schrettenbrunner
ca7d2e783f
Use k8s.io/cli-runtime for kubernetes flags
...
Signed-off-by: Jakob Schrettenbrunner <jakob.schrettenbrunner@telekom.de>
3 years ago
Stefan Prodan
61be0775af
Add fetch timeout arg to create source commands
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
3 years ago
Dmitry Rybin
7f425efa6b
chore: remove deprecated io/ioutil
...
Signed-off-by: Dmitry Rybin <ayrowa@yandex.ru>
4 years ago
Hidde Beydals
4f7b040405
Update source-controller to v0.15.1
...
This includes an introduction of a `--pass-credentials` flag for the
`flux create source helm` command to allow configuring the new
option introduced.
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Hidde Beydals
236ffd1767
Tidy up command descriptions
...
Rewordings and removal of superfluous newlines.
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Somtochi Onyekwere
465eaa24d3
Refactor all remaining create, delete, export, get command to use adapter
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
4 years ago
Hidde Beydals
8a5bba80bf
Add `sourcesecret` and `kustomization` manifestgen
...
This includes a change to the `sync` generator to make the deploy
secret name configurable.
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Hidde Beydals
ac6c6e3a30
Incorporate required API changes
...
* Use `LocalObjectReference` and `NamespacedObjectKindReference`
from `meta` package, as required by controller API changes.
* Remove `Update` field from created `ImageUpdateAutomation`,
as the API changed and the default is now defined in the Custom
Resource Definition.
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Somtochi Onyekwere
a7586e69fd
Refactor cmd global variables into structs
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
4 years ago
Stefan Prodan
af0c939302
Add labels to generated secrets
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Hidde Beydals
3c8716f6ac
Utilize LastHandledReconcileAt for reconcile cmds
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Sylvain Rabot
78d7dca985
Add a --context option
...
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
4 years ago
Hidde Beydals
0bf52f4746
Change `fluxcd/toolkit` to `fluxcd/flux2`
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
Hidde Beydals
e2752e4508
Rename `gotk` binary to `flux`
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago