Commit Graph

93 Commits (5401e1ace460c730ecdf71156808958602189ef5)

Author SHA1 Message Date
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
fluxcdbot c7c57f6717 Update toolkit components 4 years ago
fluxcdbot 1bca31f32c Update toolkit components 4 years ago
Stefan Prodan 2eb6a0513e
Update fluxcd/pkg/git to v0.2.3
Fixes Gitlab bootstrap when used with a project token

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
fluxcdbot 72122120cb Update toolkit components 4 years ago
fluxcdbot 19982fa4a6 Update toolkit components 4 years ago
Stefan Prodan 16e74647eb
Update fluxcd/pkg/git to v0.2.2
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
fluxcdbot e243df93f1 Update toolkit components 4 years ago
fluxcdbot f5117329e4 Update toolkit components 4 years ago
Somtochi Onyekwere 406601eead Update pkg/git to v0.2.2
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
4 years ago
Michael Bridgen d03280a12f Update to controller-runtime 0.7.0
controller-runtime methods now accept `client.Object` and
`client.ObjectList` rather than `runtime.Object`. This means the
adapter interfaces need to change signature, but happily, little else.

Since the list adapter is now distinct to the object adapter, `len()`
can go there instead of the command-specific interfaces.

Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Somtochi Onyekwere 4b63ccf140 Update fluxcd/pkg/git
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
4 years ago
fluxcdbot c034befbb5 Update toolkit components 4 years ago
fluxcdbot 6da22613fe Update toolkit components 4 years ago
fluxcdbot 15f17ed36d Update toolkit components 4 years ago
fluxcdbot 37c14e8088 Update toolkit components 4 years ago
Hidde Beydals 5ea4e814f5 Add safe guards for relative paths
This commit adds multiple safe guards for relative paths, ensuring they
never traverse outside the working directory.

The `SafeRelativePath` flag calculates the safe relative path based on a
relative base dir, which results in a flattened path.

The write methods of `manifestgen` make use of the `SecureJoin` as well,
to ensure writes are never outside of the given directory when used as
a lib outside of the CLI.

Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
fluxcdbot a4788ce6bb Update toolkit components 4 years ago
Michael Bridgen b66bdec61a Add subcommands for image-repository
This adds all the standard subcommands for the ImageRepository type.

Following `source`, I have put them under a namespace: `auto`,
referring to automation.

NB For `create` I use controllerutil.CreateOrUpdate, which looks to me
like a slightly more rounded version of the upsert* funcs.

Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
fluxcdbot b2f018e29b Update toolkit components 4 years ago
fluxcdbot a7d6446d8f Update toolkit components 4 years ago
Stefan Prodan 6280fbce17
Update kustomize/api to v0.7.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
fluxcdbot 35bb770697 Update toolkit components 4 years ago
Stefan Prodan f909d6fde2
Update fluxcd/pkg/git to v0.1.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
fluxcdbot aea442e7e1 Update toolkit components 4 years ago
fluxcdbot 38fdc603ad Update toolkit components 4 years ago
fluxcdbot 2bb582f7ed Update toolkit components 4 years ago
fluxcdbot bfae2899f3 Update toolkit components 4 years ago
fluxcdbot c49f9ef26a Update toolkit components 4 years ago
Stefan Prodan dd8dc90c1e
Update source-controller to v0.4.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
4 years ago
Aurel Canciu 2a789ec705
Refactor to adopt k8s standardized Condition type
Updates to use metav1.Condition type and removes references for
deprecated corev1.Condition* constants and uses the new k8s api/meta
helpers in place of the old pkg/apis/meta types.

Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
4 years ago
fluxcdbot f66399cdc0 Update toolkit components 4 years ago
fluxcdbot e5dd0c7ff8 Update toolkit components 4 years ago
fluxcdbot c3876e30a9 Update toolkit components 4 years ago
fluxcdbot de4e266e33 Update toolkit components 4 years ago
fluxcdbot d7a893acf9 Update toolkit components 4 years ago
fluxcdbot 71827b4a1a Update toolkit components 4 years ago
Aurel Canciu 9e3a4b1810
Update pkg components & k8s 1.19, kustomize 0.6.4
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
4 years ago
fluxcdbot 07e4fa8abd Update toolkit components 4 years ago
Hidde Beydals 0bf52f4746 Change `fluxcd/toolkit` to `fluxcd/flux2`
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago
fluxcdbot 2d8e5b2420 Update toolkit components 4 years ago
fluxcdbot 414aeb0ac3 Update toolkit components 4 years ago
fluxcdbot a2144b1759 Update toolkit components 4 years ago
fluxcdbot f461c5e8b7 Update toolkit components 4 years ago
Philip Laine f7971a871a Add alert provider commands 4 years ago
stefanprodan f613c01803 Update blang/semver to v4
Signed-off-by: stefanprodan <stefan.prodan@gmail.com>
4 years ago
circa10a 3619cb8bd1 Switch get commands to use tables for output
Signed-off-by: circa10a <caleblemoine@gmail.com>
4 years ago
fluxcdbot bdbded8588 Update toolkit components 4 years ago
stefanprodan 4ab67aaf90 Update Go to v1.15 4 years ago
stefanprodan d902c71a6f Update components to v0.1 4 years ago