Somtochi Onyekwere
406601eead
Update pkg/git to v0.2.2
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-01-14 20:15:17 +01:00
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>
2021-01-13 11:25:40 +00:00
Somtochi Onyekwere
4b63ccf140
Update fluxcd/pkg/git
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2021-01-11 16:17:07 +01:00
fluxcdbot
c034befbb5
Update toolkit components
2021-01-06 09:59:33 +00:00
fluxcdbot
6da22613fe
Update toolkit components
2020-12-18 14:36:18 +00:00
fluxcdbot
15f17ed36d
Update toolkit components
2020-12-16 16:12:25 +00:00
fluxcdbot
37c14e8088
Update toolkit components
2020-12-14 16:58:51 +00:00
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>
2020-12-14 15:14:49 +01:00
fluxcdbot
a4788ce6bb
Update toolkit components
2020-12-12 13:11:45 +00:00
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>
2020-12-11 16:34:14 +00:00
fluxcdbot
b2f018e29b
Update toolkit components
2020-12-11 16:07:13 +00:00
fluxcdbot
a7d6446d8f
Update toolkit components
2020-12-11 14:17:20 +00:00
Stefan Prodan
6280fbce17
Update kustomize/api to v0.7.0
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-12-11 16:07:23 +02:00
fluxcdbot
35bb770697
Update toolkit components
2020-12-11 13:19:36 +00:00
Stefan Prodan
f909d6fde2
Update fluxcd/pkg/git to v0.1.0
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-12-10 14:11:16 +02:00
fluxcdbot
aea442e7e1
Update toolkit components
2020-12-10 10:50:11 +00:00
fluxcdbot
38fdc603ad
Update toolkit components
2020-12-04 16:52:10 +00:00
fluxcdbot
2bb582f7ed
Update toolkit components
2020-11-30 12:10:44 +00:00
fluxcdbot
bfae2899f3
Update toolkit components
2020-11-26 18:16:36 +00:00
fluxcdbot
c49f9ef26a
Update toolkit components
2020-11-26 16:32:23 +00:00
Stefan Prodan
dd8dc90c1e
Update source-controller to v0.4.0
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-11-26 16:20:00 +02:00
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>
2020-11-20 13:19:40 +02:00
fluxcdbot
f66399cdc0
Update toolkit components
2020-11-18 11:14:54 +00:00
fluxcdbot
e5dd0c7ff8
Update toolkit components
2020-11-17 11:48:54 +00:00
fluxcdbot
c3876e30a9
Update toolkit components
2020-11-12 16:11:58 +00:00
fluxcdbot
de4e266e33
Update toolkit components
2020-11-12 15:17:44 +00:00
fluxcdbot
d7a893acf9
Update toolkit components
2020-11-09 15:37:09 +00:00
fluxcdbot
71827b4a1a
Update toolkit components
2020-11-04 15:11:46 +00:00
Aurel Canciu
9e3a4b1810
Update pkg components & k8s 1.19, kustomize 0.6.4
...
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2020-11-02 23:56:20 +02:00
fluxcdbot
07e4fa8abd
Update toolkit components
2020-10-30 19:45:48 +00:00
Hidde Beydals
0bf52f4746
Change fluxcd/toolkit to fluxcd/flux2
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-10-29 16:31:32 +01:00
fluxcdbot
2d8e5b2420
Update toolkit components
2020-10-29 13:14:48 +00:00
fluxcdbot
414aeb0ac3
Update toolkit components
2020-10-19 14:23:20 +00:00
fluxcdbot
a2144b1759
Update toolkit components
2020-10-17 07:21:01 +00:00
fluxcdbot
f461c5e8b7
Update toolkit components
2020-10-13 17:47:46 +00:00
Philip Laine
f7971a871a
Add alert provider commands
2020-10-13 11:11:54 +02:00
stefanprodan
f613c01803
Update blang/semver to v4
...
Signed-off-by: stefanprodan <stefan.prodan@gmail.com>
2020-10-06 10:50:32 +03:00
circa10a
3619cb8bd1
Switch get commands to use tables for output
...
Signed-off-by: circa10a <caleblemoine@gmail.com>
2020-10-04 16:34:04 -05:00
fluxcdbot
bdbded8588
Update toolkit components
2020-10-02 18:20:24 +00:00
stefanprodan
4ab67aaf90
Update Go to v1.15
2020-10-01 23:38:25 +03:00
stefanprodan
d902c71a6f
Update components to v0.1
2020-09-30 23:09:21 +03:00
fluxcdbot
8e40069e67
Update toolkit components
2020-09-23 12:57:46 +00:00
fluxcdbot
347c2b6bcc
Update toolkit components
2020-09-22 13:17:27 +00:00
stefanprodan
857e442376
Update kustomize/api to v0.6.2
2020-09-22 09:57:22 +03:00
stefanprodan
c36e02bba9
Update kustomize-controller to v0.0.12
2020-09-14 18:20:05 +03:00
stefanprodan
531c2bcf00
Import fluxcd/pkg/runtime
2020-09-12 12:04:37 +03:00
fluxcdbot
dd5505918a
Update toolkit components
2020-09-12 08:54:22 +00:00
stefanprodan
afef6960b9
Cleanup GitHub e2e repo
2020-09-09 14:03:26 +03:00
stefanprodan
bfb560ec50
Update kustomize-controller to v0.0.10
2020-09-05 11:04:41 +03:00
stefanprodan
2aa395ba12
Update source and helm controllers
...
helm-controller/api v0.0.7
source-controller/api v0.0.14
2020-09-04 16:23:21 +03:00
stefanprodan
b24727ec22
Update kustomize-controller to v0.0.9
2020-09-04 14:28:37 +03:00
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
2020-09-03 11:16:50 +02:00
hiddeco
1ee9a6a39d
Update toolkit components
2020-08-28 07:54:06 +00:00
Stefan Prodan
35d6172d06
Merge pull request #172 from fluxcd/ssh-host
...
Add SSH hostname arg to GitLab bootstrap
2020-08-21 17:50:29 +03:00
stefanprodan
b5ed8f0183
Add SSH hostname arg to GitLab bootstrap
2020-08-21 17:37:44 +03:00
Hidde Beydals
248961d58c
Update helm-controller to v0.0.4
2020-08-20 14:27:36 +02:00
Hidde Beydals
0c33df883c
Switch to dedicated fluxcd/pkg and api modules
2020-08-18 13:45:48 +02:00
stefanprodan
8d1dddf205
Update controllers for Helm v3.3.0
2020-08-13 14:28:51 +03:00
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
2020-07-31 10:24:29 +02:00
stefanprodan
83c236c829
Update helm-controller to v0.0.1-beta.4
2020-07-22 16:36:59 +03:00
stefanprodan
2463d72f3b
Update helm-controller to v0.0.1-beta.3
2020-07-21 20:18:23 +03:00
stefanprodan
5f0b95dc59
Implement create/delete for Helm releases
2020-07-21 12:20:41 +03:00
stefanprodan
6d2ff6e019
Update controllers and APIs
2020-07-20 14:41:23 +03:00
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
2020-07-16 11:30:45 +03:00
stefanprodan
7a68c4ccf3
Add reconcile helm commands
2020-07-14 13:34:00 +03:00
stefanprodan
394227571f
Rename sync cmd to reconcile
2020-07-14 11:45:15 +03:00
stefanprodan
789fd34c4a
Update fluxcd/pkg to v0.0.2
2020-07-07 10:02:54 +03:00
stefanprodan
4621afcb31
Migrate to fluxcd/pkg
2020-06-30 17:11:04 +03:00
stefanprodan
0e437c1105
Update controllers to v0.0.1
2020-06-25 09:59:30 +03:00
stefanprodan
f3d50e158a
Implement GitLab bootstrap
2020-06-18 00:32:32 +03:00
stefanprodan
94f320336c
Update controllers to v0.0.1-beta.2
2020-06-10 12:12:35 +03:00
stefanprodan
e612a8a496
Implement SSH deploy key bootstrap
2020-06-09 15:24:36 +03:00
Hidde Beydals
a332e12338
Replace SSH shell-outs with Go implementation
2020-06-06 21:42:54 +02:00
stefanprodan
5807286355
Update controllers to v0.0.1-beta.1
2020-05-29 18:35:02 +03:00
stefanprodan
445dcf0b6d
Update kustomize/api to v0.4.1
2020-05-29 18:30:45 +03:00
stefanprodan
1e7d2e7dce
Use kustomize API instead of binary
2020-05-12 08:18:16 +03:00
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
2020-05-05 20:00:37 +03:00
stefanprodan
8c0c2be05a
build: update cobra to v1.0
2020-05-01 19:43:22 +03:00
stefanprodan
f127adc8ea
Implement export to YAML
...
- add export commands for git sources and kustomizations
- add export e2e tests
2020-04-30 00:12:16 +03:00
stefanprodan
0f5204a8c1
Refactor create source
...
- use source API package instead of a text template
- use controller-runtime client instead of kubectl
2020-04-26 23:37:06 +03:00
stefanprodan
98c32dce3d
Refactor exec helpers
2020-04-26 10:39:20 +03:00
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
2020-04-24 22:32:17 +03:00
stefanprodan
403a0f2882
Add check command
...
- verify minimum supported version of kubectl, kustomize and
Kubernetes API
2020-04-24 19:43:12 +03:00
stefanprodan
c8fdf76084
Init toolkit CLI
2020-04-24 14:30:27 +03:00