Commit Graph

341 Commits (66b6e03a0fc200434715d391611d1c7af5e42483)

Author SHA1 Message Date
fluxcdbot c7c57f6717 Update toolkit components
fluxcdbot 1bca31f32c Update toolkit components
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>
fluxcdbot 72122120cb Update toolkit components
fluxcdbot 19982fa4a6 Update toolkit components
Stefan Prodan 16e74647eb
Update fluxcd/pkg/git to v0.2.2
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
fluxcdbot e243df93f1 Update toolkit components
fluxcdbot f5117329e4 Update toolkit components
Somtochi Onyekwere 406601eead Update pkg/git to v0.2.2
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
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>
Somtochi Onyekwere 4b63ccf140 Update fluxcd/pkg/git
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
fluxcdbot c034befbb5 Update toolkit components
fluxcdbot 6da22613fe Update toolkit components
fluxcdbot 15f17ed36d Update toolkit components
fluxcdbot 37c14e8088 Update toolkit components
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>
fluxcdbot a4788ce6bb Update toolkit components
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>
fluxcdbot b2f018e29b Update toolkit components
fluxcdbot a7d6446d8f Update toolkit components
Stefan Prodan 6280fbce17
Update kustomize/api to v0.7.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
fluxcdbot 35bb770697 Update toolkit components
Philip Laine 82b74d8689 Add git implementation flag and note about Azure DevOps
Signed-off-by: Philip Laine <philip.laine@gmail.com>
Stefan Prodan f909d6fde2
Update fluxcd/pkg/git to v0.1.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
fluxcdbot aea442e7e1 Update toolkit components
fluxcdbot 38fdc603ad Update toolkit components
fluxcdbot 2bb582f7ed Update toolkit components
fluxcdbot bfae2899f3 Update toolkit components
fluxcdbot c49f9ef26a Update toolkit components
Stefan Prodan dd8dc90c1e
Update source-controller to v0.4.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
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>
fluxcdbot f66399cdc0 Update toolkit components
fluxcdbot e5dd0c7ff8 Update toolkit components
fluxcdbot c3876e30a9 Update toolkit components
fluxcdbot de4e266e33 Update toolkit components
fluxcdbot d7a893acf9 Update toolkit components
fluxcdbot 71827b4a1a Update toolkit components
Aurel Canciu 9e3a4b1810
Update pkg components & k8s 1.19, kustomize 0.6.4
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
fluxcdbot 07e4fa8abd Update toolkit components
fluxcdbot 2d8e5b2420 Update toolkit components
fluxcdbot 414aeb0ac3 Update toolkit components
fluxcdbot a2144b1759 Update toolkit components
fluxcdbot f461c5e8b7 Update toolkit components
Philip Laine f7971a871a Add alert provider commands
stefanprodan f613c01803 Update blang/semver to v4
Signed-off-by: stefanprodan <stefan.prodan@gmail.com>
circa10a 3619cb8bd1 Switch get commands to use tables for output
Signed-off-by: circa10a <caleblemoine@gmail.com>
fluxcdbot bdbded8588 Update toolkit components
stefanprodan d902c71a6f Update components to v0.1
fluxcdbot 8e40069e67 Update toolkit components
fluxcdbot 347c2b6bcc Update toolkit components
stefanprodan 857e442376 Update kustomize/api to v0.6.2
stefanprodan c36e02bba9 Update kustomize-controller to v0.0.12
stefanprodan 531c2bcf00 Import fluxcd/pkg/runtime
fluxcdbot dd5505918a Update toolkit components
stefanprodan afef6960b9 Cleanup GitHub e2e repo
stefanprodan bfb560ec50 Update kustomize-controller to v0.0.10
stefanprodan 2aa395ba12 Update source and helm controllers
helm-controller/api v0.0.7
source-controller/api v0.0.14
stefanprodan b24727ec22 Update kustomize-controller to v0.0.9
Hidde Beydals fa56685767 Upgrade Toolkit components and K8S deps
* github.com/fluxcd/helm-controller/api to v0.0.6
* github.com/fluxcd/source-controller/api to v0.0.13

* k8s.io/api to v0.18.8
* k8s.io/apiextensions-apiserver to v0.18.8
* k8s.io/apimachinery to v0.18.8
* k8s.io/client-go to v0.18.8
* sigs.k8s.io/controller-runtime to v0.6.2
hiddeco 1ee9a6a39d Update toolkit components
Stefan Prodan 35d6172d06
Merge pull request from fluxcd/ssh-host
Add SSH hostname arg to GitLab bootstrap
stefanprodan b5ed8f0183 Add SSH hostname arg to GitLab bootstrap
Hidde Beydals 248961d58c Update helm-controller to v0.0.4
Hidde Beydals 0c33df883c Switch to dedicated fluxcd/pkg and api modules
stefanprodan 8d1dddf205 Update controllers for Helm v3.3.0
Hidde Beydals 54b11e7b25 Update components
- source-controller to v0.0.7
- kustomize-controller to v0.0.7
- helm-controller to v0.0.1
- notification-controller to v0.0.6
stefanprodan 83c236c829 Update helm-controller to v0.0.1-beta.4
stefanprodan 2463d72f3b Update helm-controller to v0.0.1-beta.3
stefanprodan 6d2ff6e019 Update controllers and APIs
stefanprodan c664484fda Update controllers and go modules
- update source-controller to v0.0.5
- update kustomize-controller to v0.0.4
- update notification-controller to v0.0.4
- update helm-controller to v0.0.1-alpha.2
stefanprodan 7a68c4ccf3 Add reconcile helm commands
stefanprodan 394227571f Rename sync cmd to reconcile
stefanprodan 789fd34c4a Update fluxcd/pkg to v0.0.2
stefanprodan 4621afcb31 Migrate to fluxcd/pkg
stefanprodan 0e437c1105 Update controllers to v0.0.1
stefanprodan f3d50e158a Implement GitLab bootstrap
stefanprodan 94f320336c Update controllers to v0.0.1-beta.2
stefanprodan e612a8a496 Implement SSH deploy key bootstrap
stefanprodan 4ec5b7fc69 Implement GitHub repository bootstrap
stefanprodan 5807286355 Update controllers to v0.0.1-beta.1
stefanprodan 445dcf0b6d Update kustomize/api to v0.4.1
stefanprodan 1e7d2e7dce Use kustomize API instead of binary
stefanprodan 5c2c4ccdba Add service account args
- update kustomize-controller to v0.0.1-alpha.7
- change args to match the v0.0.1-alpha.7 API
- add service account args
stefanprodan 8c0c2be05a build: update cobra to v1.0
stefanprodan 0f5204a8c1 Refactor create source
- use source API package instead of a text template
- use controller-runtime client instead of kubectl
stefanprodan 98c32dce3d Refactor exec helpers
stefanprodan 4a872836e3 Generate tk docs with cobra/doc
stefanprodan 1371b4d4d3 Implement create source for ssh git repos
- generate host keys and SSH keys
- prompt for deploy key setup
- generate gitrepo source
- wait for source to sync
stefanprodan 35163fa9eb Add e2e tests for install command
stefanprodan 403a0f2882 Add check command
- verify minimum supported version of kubectl, kustomize and
Kubernetes API
stefanprodan c8fdf76084 Init toolkit CLI