1
0
mirror of synced 2026-02-07 11:15:57 +00:00
Commit Graph

548 Commits

Author SHA1 Message Date
Hidde Beydals
3a8151bcc0 Add various custom flags 2020-06-08 20:06:54 +02:00
Hidde Beydals
2dfe88b82d Move ssh package from internal to pkg 2020-06-08 13:44:51 +02:00
Hidde Beydals
a332e12338 Replace SSH shell-outs with Go implementation 2020-06-06 21:42:54 +02:00
stefanprodan
f231107869 Set tk version at release time 2020-05-29 18:29:26 +03:00
stefanprodan
1e7d2e7dce Use kustomize API instead of binary 2020-05-12 08:18:16 +03:00
stefanprodan
89aa7463ef Release v0.0.1-alpha.1 2020-05-06 14:17:13 +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
d8802b7d4a Fix resume waiting 2020-05-03 13:29:16 +03:00
stefanprodan
afcb41c59b Add bash completion cmd 2020-05-01 22:06:44 +03:00
stefanprodan
155cc66db9 Fix get cmd early exit 2020-05-01 19:47:56 +03:00
stefanprodan
9069a65a97 Add -s alias for silent arg 2020-05-01 19:47:56 +03:00
stefanprodan
5530362568 Add credentials export option for git sources 2020-04-30 11:03:53 +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
6d590fe4d2 Implement delete for git sources
- add delete source git command
- add delete source git e2e test
2020-04-29 23:40:03 +03:00
stefanprodan
e5e06783bd Implement ks delete, suspend, resume commands
- add delete kustomization command with confirmation and warning id not suspended
- add suspend kustomization command
- add resume kustomization command
- add suspend/resume/delete e2e tests
2020-04-29 17:45:22 +03:00
stefanprodan
2225b2a6a9 Implement get commands
- add get sources git command
- add get kustomizations command
2020-04-29 13:52:15 +03:00
stefanprodan
1e03155e8b Add poll interval global variable 2020-04-29 10:48:12 +03:00
stefanprodan
6d66f42382 Add ks alias to kustomization commands 2020-04-29 09:53:29 +03:00
stefanprodan
cfa72ddb0b log: improve cmd logs 2020-04-29 09:35:49 +03:00
stefanprodan
0f99f313a0 check: exit 1 on control plane failed checks 2020-04-29 09:10:27 +03:00
stefanprodan
21e0d38152 Implement sync command
- sync git sources
- sync kustomizations along with their sources
2020-04-29 08:50:27 +03:00
stefanprodan
8d15970dbe Add wait log 2020-04-29 08:25:12 +03:00
stefanprodan
c6793f6eaf Refactor create command
- move GitRepository operations to create source git
- update examples and e2e tests
2020-04-28 23:51:23 +03:00
stefanprodan
3bcc2ae992 Format commands examples 2020-04-28 21:01:20 +03:00
stefanprodan
a0ed1c2037 Add git tag option to create source 2020-04-28 20:24:00 +03:00
stefanprodan
076aa09a99 Update source if exists 2020-04-28 11:51:22 +03:00
stefanprodan
57474fb274 Implement create kustomization 2020-04-28 11:34:35 +03:00
stefanprodan
78af1dd2b4 Implement components selection
- add components global flag
- install selected components
- check selected components
2020-04-27 16:59:04 +03:00
stefanprodan
a9128a2cb4 Log source sync failure message 2020-04-27 10:49:23 +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
d6d7bc329a Add silent option to uninstall 2020-04-26 10:58:25 +03:00
stefanprodan
98c32dce3d Refactor exec helpers 2020-04-26 10:39:20 +03:00
stefanprodan
09678d7966 Add version arg to install command 2020-04-25 23:27:41 +03:00
stefanprodan
4a872836e3 Generate tk docs with cobra/doc 2020-04-25 20:07:48 +03:00
stefanprodan
8392c4fe24 Refactor logging 2020-04-25 13:16:34 +03:00
stefanprodan
2d300d7344 Add semver condition to check output 2020-04-25 12:10:24 +03:00
stefanprodan
13760258ab Add verbose option to create source 2020-04-25 12:06:25 +03:00
stefanprodan
e308097785 Add timeout option to install/uninstall 2020-04-25 11:50:42 +03:00
stefanprodan
7d1a14d09a Add uninstall cmd 2020-04-25 11:23:09 +03:00
stefanprodan
4d8800ad62 Add basic-auth option to create source 2020-04-25 10:29:54 +03:00
stefanprodan
9cec671f6c Add public repos and semver support to create cmd 2020-04-25 00:02:09 +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
bba9ac0aa1 Add ssh tools to requirements check 2020-04-24 20:54:05 +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
94e0b3c9c3 Add install command with dry-run option
- build kustomization
- apply output on the cluster
- check rollout status of source and kustomize controllers
2020-04-24 18:18:41 +03:00
stefanprodan
e304059299 Add kubeconfig global flag 2020-04-24 15:07:03 +03:00
stefanprodan
4f449a1ffd Add check command 2020-04-24 14:30:48 +03:00
stefanprodan
c8fdf76084 Init toolkit CLI 2020-04-24 14:30:27 +03:00