Jianbo Sun
4cf4fdff30
align workload/trait definition schema with v0.2.2 spec ( #1175 )
2021-03-11 18:46:02 -08:00
wangyike
5c33598fe9
modify controller,webhook,api,chart
...
solve failed test
add compatibility test for old crd
add app ns for cli
modify compatibility test
solve compatibility problem
add testing for GetDefinition func with cluster scope CRD
generate code for compatibility-test
move testdata generate to makefile
optimize ci pipeline for compatibility-test
2021-03-09 10:10:48 +08:00
Jianbo Sun
52550bb7b5
parent override child when annotation/labels conflicts && one revision will apply once only in force mode && AC.status CRD updated ( #1109 )
...
* when annotation/labels passthrough from parent to child conflicts, the parent will override the child.
e.g. 1) AC will override its component/workload; 2) workload will override child-resource; 3) AC will override its trait
* apply once only force will block workload apply when revision not changed even ac generation updated
2021-02-28 22:38:18 -08:00
天元
96a589b098
move template out from extension
2021-02-05 14:45:30 +08:00
天元
868e0925d4
move health check and status out of extention
2021-02-04 17:56:20 +08:00
天元
f310665fe0
implement vela status in application CRD controller and refactor the health check code
2021-02-03 18:13:47 +08:00
lj176172
dd6810314e
status app
2021-02-02 21:23:01 +08:00
roy wang
93ae8a9099
fix staticcheck issues
...
add staticcheck CI action
add staticcheck in Makefile
Signed-off-by: roywang <seiwy2010@gmail.com >
2021-01-29 18:42:03 +09:00
天元
10076f8516
trait name should not contain dummy when traitdefinition not found
2021-01-29 11:39:44 +08:00
Jianbo Sun
a8b4004e3b
Merge pull request #965 from captainroy-hy/not-depend-defref
...
allow traitDefinition to omit definitionRef
2021-01-29 11:36:22 +08:00
roy wang
7629399683
allow traitDefinition to omit definitionRef
...
Signed-off-by: roy wang <seiwy2010@gmail.com >
2021-01-29 11:31:03 +09:00
Ryan Zhang
ad496b132a
further develop appDeployment controller
2021-01-28 17:59:31 -08:00
Zheng Xi Zhou
2a943c9429
Using Terraform as IaC module in KubeVela ( #863 )
...
* Integrate Terraform into KubeVela
Integrated Terrafrom into KubeVela to enable it to deploy
infrastruce resouces by `vela up`
* extend Terraform modules/files as WorkloadDefinition
stop printing terraform log to console
Support one workload consumes two cloud services
Refactor Terraform plugin based on Application Object
add testcase
* refactor code per reviewer's comments
fix rebase issue
* find lost code back
* refactor code to make the modification as little as to that of branch master
* remove blank lines from imports
2021-01-28 18:36:52 +08:00
Ryan Zhang
462be588af
address comments and fix CI
2021-01-26 20:47:56 -08:00
Ryan Zhang
c85bbe1ae2
add rolling annotation to the application
2021-01-26 00:29:49 -08:00
Ryan Zhang
a257f6e60c
application controller ignore annotation
2021-01-26 00:03:53 -08:00
Ryan Zhang
e664831ff6
application deployment
2021-01-25 22:17:35 -08:00
roywang
59a6ef5140
implement util/apply with three-way diff
...
add/fix unit tests
fix e2e tests
update doc & add unit test
Signed-off-by: roy wang <seiwy2010@gmail.com >
2021-01-21 18:05:29 +09:00
Ryan Zhang
d74dbb4fda
refactor application controller
2021-01-21 00:34:04 -08:00
天元
718a4b1999
fix ci
2021-01-07 17:52:15 +08:00
天元
3cb172f7ff
minor fix
2020-12-15 13:55:36 +08:00
roy wang
12a2eb8491
fix minor lint issues
...
add unit tests
Signed-off-by: roy wang <seiwy2010@gmail.com >
2020-11-30 16:11:48 +09:00
天元
6480873e81
change import headers
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-27 11:08:54 +08:00
天元
2e975e678c
merge code: apis,pkg all moved
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-27 11:07:50 +08:00
roy wang
6303d311c8
fix lint issues in /pkg/*
...
fix lint issues in /cmd/*
Signed-off-by: roy wang <seiwy2010@gmail.com >
2020-11-26 17:18:54 +09:00
天元
be8403dc0d
standardize project structure: move v1alpha1 into standard.oam.dev group
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-25 21:46:31 +08:00
天元
fc805214c7
standardize project structure: change api to apis
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-25 17:28:09 +08:00
天元
2876d2f921
fix more golints and leave TODOs for no fixed package or files
2020-11-23 18:21:43 +08:00
天元
3c233d3a9b
fix lint
2020-11-23 15:55:46 +08:00
天元
42c9e68512
fix go sec and remove unnecessary code
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-18 10:34:22 +08:00
Hongchao Deng
debc0da3b6
Merge pull request #620 from wonderflow/golint
...
add description for export const variable and function
2020-11-17 11:15:14 -08:00
天元
fb8c33af8d
add description for export const variable and function, fix golint
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-17 21:04:53 +08:00
天元
974027e233
fix go imports lint complain
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-17 20:40:08 +08:00
天元
daef0523fa
refactor extend trait feature and doc
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-16 19:22:38 +08:00
天元
efb76ee5ee
tunning docs
2020-11-16 14:07:38 +08:00
Hongchao Deng
6486b7878f
extend kubevela: add openfaas workload
2020-11-13 16:14:33 -08:00
天元
cd4615405f
updated oam-k8s-runtime and go through rollout fix bugs
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-13 11:24:49 +08:00
天元
d67ce4d2a1
refactor server and fix CI
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-12 15:19:50 +08:00
天元
40ab610a8e
remove annotation for apiversion and kind, use discoverymapper instead
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-12 12:04:08 +08:00
Jianbo Sun
0fc1c3132e
Merge pull request #546 from zzxwill/issue-autoscaler
...
Fix autoscale inconsistence UI
2020-11-10 20:47:48 +08:00
zzxwill
da8457fbf0
Fix autoscale inconsistence UI
...
fixed autoscale Cli and Appfile inconsistence
and refactor `vela status` output for autoscale
2020-11-10 20:30:04 +08:00
天元
fd3f300901
support rollout trait
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-10 20:13:27 +08:00
Hongchao Deng
94fad7229b
Merge pull request #530 from hongchaodeng/doc-cap
...
doc: add managing caps
2020-11-06 19:11:17 -08:00
Hongchao Deng
a199c1f009
fix cap uninstall
2020-11-06 17:57:46 -08:00
Zheng Xi Zhou
91f47586cf
Autoscaler for appfile ( #510 )
...
* Autoscaler for appfile
completed spec.extension.template to support autoscale in
cli and appfile
* add alias name to cpuRequest in Cli for deploying webservice
2020-11-07 07:54:59 +08:00
Hongchao Deng
3097a46a04
Merge pull request #493 from wonderflow/metrics
...
fix metric capability and add tutroial
2020-11-02 08:27:35 -08:00
天元
26b6327919
fix metric capability and add tutroial
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-02 15:50:20 +08:00
Hongchao Deng
7cfc80cd41
add render-only to ini cmd and ignore route if domain is empty
2020-11-01 23:34:12 -08:00
zzxwill
865c52e883
Refactor "vela status"
...
merged `vela app status` and `vela svc status`
to `vela status`.
To fix #474
2020-11-01 16:25:17 +08:00
Zheng Xi Zhou
e58d705a8b
Merge pull request #478 from zzxwill/app-show
...
Refactor `vela show`
2020-11-01 11:44:04 +08:00