Commit Graph

28 Commits

Author SHA1 Message Date
Somefive 1bd9a0eca3
Fix: kubectl check err (#3759)
Signed-off-by: Somefive <yd219913@alibaba-inc.com>
2022-04-28 16:32:38 +08:00
天元 1e4a1159b5 clean up 2020-09-11 17:52:14 +08:00
天元 044df63770 change go package to oam-dev/kubevela 2020-09-11 12:29:12 +08:00
天元 1354b4afa4 add golintci and make it happy 2020-09-10 14:57:36 +08:00
zzxwill 1845f70c3d Implement `vela logs`
Based on modifed `stern` project, tail logs of pods
of an application
2020-08-28 11:16:25 +08:00
天元 9ea02adf2f implement appfile oriented OAM Application run 2020-08-13 14:13:22 +08:00
天元 df2ad85c9c do some refactor for code as we change addon to capability 2020-08-12 13:37:20 +08:00
Zheng Xi Zhou 8b7f2e1a6e
Show trait type in `app:ls` (#136)
* Show trait type in `app:ls`

Use trait type instead of its name in application list.
Fix app:status issue and refactor code
Fix #90

* Update pkg/cmd/status.go

Co-authored-by: Sun Jianbo <wonderflow.sun@gmail.com>

* followed comments to move some basic traits related functions to system.go

Co-authored-by: Sun Jianbo <wonderflow.sun@gmail.com>
2020-08-11 15:14:14 +08:00
zzxwill 5ffe9e2ce5 Temporarily fix oam kubernetes runtime CRD issue
after PR https://github.com/crossplane/oam-kubernetes-runtime/pull/162
is merged, this workround should be removed
2020-08-10 10:17:22 +08:00
天元 93240b4ae6 make env help pretty 2020-08-07 16:38:23 +08:00
天元 8418534a43 rename rudrx/rudr to vela 2020-08-07 13:40:20 +08:00
天元 ae08333efa use cue template instead of parameter 2020-08-06 11:58:13 +08:00
zzxwill 0d4ee6970b refine detach with extended traitdefinition 2020-08-05 20:06:00 +08:00
zzxwill 6210fef049 use applicationName here instead of appConfig.Spec.Components[0].ComponentName 2020-08-04 21:16:52 +08:00
zzxwill bd1fd83c20 address comments from @Wonderflow 2020-08-04 21:16:52 +08:00
zzxwill 01ade795e3 implement `rudr status`
Implement `rudr status <APPLICATION-NAME>` to show the status
of the application, its workloads and traits
2020-08-04 21:16:52 +08:00
zzxwill d1b8fc214c Fix `rudr list` issue
Use the new way to retrieve namespace
2020-08-03 20:56:58 +08:00
天元 728ebb33b2 refactor rudr run to rudr <workload>:run 2020-08-01 13:14:06 +08:00
天元 dcf311cd4a clean up docs and test 2020-07-31 12:18:17 +08:00
天元 89601bee18 support rudr env 2020-07-31 10:34:17 +08:00
zzxwill 318f9e59ae Correct rebase issue and add e2e test 2020-07-30 23:31:01 +08:00
zzxwill e91dceac4b Make modification for latest xxxdefinition.spec.extension 2020-07-29 22:40:39 +08:00
zzxwill b4065b1174 Move template to definition Extension field
As we plan to deprecate template, move template
to workloaddefinition and traitdefinition respectively.
2020-07-29 22:33:40 +08:00
Herman Zhu a9f9bc055c
feat(init): Add `rudr init` (#43)
* feat(init): Add `rudr init`

Support `rudr init` which will check/install oam-k8s-runtime into
cluster

Fixes #12

Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>

* feat(init): Add `rudr init`

Support `rudr init` which will check/install oam-k8s-runtime into cluster

Fixes #12

Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>

* feat(init): add version flag

Add version flag

Fixes #12

Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>

* feat(init): create native resource WorkloadDefinition

Create native resource WorkloadDefinition

Fixes: #12

Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>
2020-07-29 15:54:21 +08:00
zzxwill a6e730d7bd Refactor `rudr apps`
Move some basic functions to cmd.util.helpers.go and
decompose some of them for further calling, like
`rudr unbind`
2020-07-24 21:47:11 +08:00
erdun e625745604 add UT 2020-07-21 11:13:47 +08:00
zzxwill bdb8af9492 Fix issue and refine README
1) Fix the issue when there are more than one traitdefinitions
2) Refine README
3) lowercase workload metadata.name so it could be used as dns
2020-07-17 13:40:50 +08:00
天元 4f13b58663 init rudrx 2020-07-07 00:12:13 +08:00