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
天元
5bf11d4142
fix revision enable workload check and prevent GC if replica>0
2021-03-04 18:05:17 +08:00
天元
0229ac775b
reduce reconcile too frequency, error will requeue automatically
2021-03-04 16:00:45 +08:00
天元
419afd27b5
update CRD and fix workload not create first time
2021-03-01 15:05:19 +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
roy wang
dc6ab6b8d6
fix unstable unit test
...
Signed-off-by: roywang <seiwy2010@gmail.com >
2021-02-26 19:18:15 +09:00
roywang
613f1f9b53
quick fix unstable unit test
...
Signed-off-by: roywang <seiwy2010@gmail.com >
2021-02-26 18:46:10 +09:00
Jianbo Sun
eefc72b0c6
Merge pull request #1099 from captainroy-hy/ut-apply-once
...
add unit test
2021-02-26 10:26:09 +08:00
Jianbo Sun
1ac66bb3e4
fix component custom revison loop infinitely create revision ( #1101 )
2021-02-24 23:50:45 -08:00
roywang
ac6d6d1a73
add unit test
...
Signed-off-by: roywang <seiwy2010@gmail.com >
2021-02-25 02:59:19 +09:00
Jianbo Sun
46f7472bd5
fix apply only once observedGeneration should mark after meet all dependency requirements && add log for apply only once ( #1094 )
2021-02-24 01:13:27 -08:00
天元
9d2cf16141
remove go-header package dependency
2021-02-23 19:14:57 +08:00
Jianbo Sun
f6d2e76102
Merge pull request #1032 from wangkai1994/fix/cap_error_message
...
fix cap error message
2021-02-07 17:30:27 +08:00
wangkai1994
58bd00f137
fix cap error message,
2021-02-07 17:09:36 +08:00
Dylan
abe01d2add
fix: update CR's status with retry.RetryOnConflict ( #1015 )
2021-02-06 23:08:22 -08:00
roy wang
47ab481eee
implement ApplyOnceOnlyForce
...
add unit test
Signed-off-by: roy wang <seiwy2010@gmail.com >
2021-02-06 12:58:32 +09:00
Ryan Zhang
b564e0ef26
add more code to complete the rollout plan ( #1024 )
2021-02-05 12:08:19 -08:00
Jianbo Sun
4b06961e6f
Merge pull request #1014 from wonderflow/definition
...
move template out from extension to spec.template
2021-02-05 15:51:44 +08:00
天元
96a589b098
move template out from extension
2021-02-05 14:45:30 +08:00
Ryan Zhang
15020660c9
cloneset controller draft
2021-02-04 17:01:22 -08:00
Jianbo Sun
b6f10bb1fa
Merge pull request #975 from leejanee/app-status
...
display trait status information with customized style
2021-02-04 20:22:19 +08:00
天元
868e0925d4
move health check and status out of extention
2021-02-04 17:56:20 +08:00
Dylan
ea306dac5e
remove redundant image push operation
2021-02-04 16:15:43 +08:00
天元
87e52bb349
add demo, test and refine code
2021-02-04 14:14:52 +08:00
roy wang
2375e019bd
fix cannot sync trait without definitionRef
...
Signed-off-by: roy wang <seiwy2010@gmail.com >
2021-02-03 20:29:11 +09:00
天元
829d230427
remove unused client side trait checker
2021-02-03 18:19:51 +08:00
天元
f310665fe0
implement vela status in application CRD controller and refactor the health check code
2021-02-03 18:13:47 +08:00
Kai and Jianbo Sun
dafbbbb606
mark vela install as deprecated ( #989 )
...
* mark `vela install` as deprecated
* refactor vela install to helm install
* refactor vela install to helm install
fix
* Update pkg/commands/system.go
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
* Update pkg/commands/system.go
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
* Update README.md
* Update CONTRIBUTING.md
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
* Update _sidebar.md
* Update README.md
* revert
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
2021-02-03 16:14:58 +08:00
roy wang
62611896e1
validating webhook for TraitDefinition
...
add unit test
fix lint issues
Signed-off-by: roy wang <seiwy2010@gmail.com >
2021-02-03 14:46:24 +09:00
roywang
02f214b766
use dummy trait definition in appconfig webhook
...
Signed-off-by: roywang <seiwy2010@gmail.com >
2021-02-02 22:58:16 +09:00
lj176172
dd6810314e
status app
2021-02-02 21:23:01 +08:00
96RadhikaJadhav
671c73a070
Fixed wrong chart name
2021-02-02 14:20:11 +05:30
Holger Protzek and Jianbo Sun
f737379738
Added ingressClass to route trait ( #947 )
...
* Added ingressClass to route trait
* typo
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
* run make reviewable
* fixed ingress test
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
2021-02-02 09:52:20 +08:00
Jianbo Sun
e5a9721fa5
Merge pull request #985 from zzxwill/capability-show
...
Change "vela show" function name
2021-02-02 09:51:23 +08:00
zzxwill
86db8de125
Change "vela show" function name
...
Also updated help vela help message
2021-02-01 19:48:34 +08:00
Ryan Zhang
7f64974701
This PR spells out the rollout states ( #972 )
...
* add rollout state transition:
* address comments
2021-02-01 17:40:59 +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
天元
b88309a333
fix inner containerizedworkload not work
2021-01-29 15:51:29 +08:00
Jianbo Sun
5c188dd9cc
Merge pull request #952 from wonderflow/removecode
...
remove unused dependency installation
2021-01-29 14:58:57 +08:00
Jianbo Sun
f39660c286
Merge pull request #953 from wonderflow/svcd
...
deprecate unused vela commands
2021-01-29 13:48:31 +08:00
天元
6922f7cfab
fix ci
2021-01-29 11:39:44 +08:00
天元
aed2494875
allow multiple outputs for workloaddefintion
2021-01-29 11:39:44 +08: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
Jianbo Sun
a042b6b43d
Merge pull request #963 from ryanzhang-oss/appDeployment-structure
...
further develop appDeployment controller
2021-01-29 11:19:59 +08:00
mahao
82cdb615c0
update delete app prompt information
...
Signed-off-by: mahao <allenhaozi@gmail.com >
2021-01-29 11:00:44 +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
天元
61c256a97c
remove unused dependency installation as we have reduce 3rd party dependency , they will be installed as capability from registry
2021-01-28 14:55:25 +08:00