Philip Laine
a4734d7e30
Remove file reading from bootstrap package
...
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2 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
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
Somtochi Onyekwere
67b393ce09
Add test for create secret
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
3 years ago
Charles Cai
70f2b5028f
feat: display success message while create secrets via `flux` cli.
...
Signed-off-by: Charles Cai <charles.cai@sap.com>
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
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
Michael Bridgen
263c664acd
Factor out more common secrets command code
...
Making the secret without data is always the same, so factor that out.
Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Michael Bridgen
b12c4c22fb
Add command for creating TLS secrets
...
The image-reflector controller now accepts a secret containing a
client certificate and key, and/or a CA certificate; so it's useful to
have a command for creating them.
`flux create secret helm` is close, but accepts username/password
(which would be ignored), and has the wrong name of course. Happily
though, much can be shared between the implementations.
Signed-off-by: Michael Bridgen <michael@weave.works>
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
331ac3f031
Add create secret helm command
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago