yangsoon
e320a4b027
add more options for vela-controller ( #1769 )
...
* add more option for controller
1. add ConcurrentReconciles for setting the concurrent reconcile number of the controller
2. add DependCheckWait for setting the time to wait for ApplicationConfiguration's dependent-resource ready
* fix test
* add controller reference
2021-06-08 10:30:00 +08:00
wyike
a534c17e8a
cp oam pr 329 ( #1742 )
...
fix Ci
2021-06-01 18:32:31 +08:00
wyike
7bcf469e8c
add long wait as controller args ( #1739 )
...
* add long wait as controller args
* fix golint error
* fix ci workflow add git submodles
fix test
* add submodle for Ci
2021-06-01 17:40:15 +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
天元
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
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
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
天元
6922f7cfab
fix ci
2021-01-29 11:39:44 +08:00
Zheng Xi Zhou
aa03e9c9d4
OpenAPI: Application creation based on Application object ( #924 )
...
* OpenAPI: Application creation based on Application object
Implemented Application creation OpenAPI based on new Application object
To #913
* fix e2e problems
* fix import issue
2021-01-28 10:15:26 +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
roy wang
580056b209
fix unstable unit test
...
Signed-off-by: roy wang <seiwy2010@gmail.com >
2021-01-18 18:59:58 +09:00
天元
8410f03eb0
addressing comments
2021-01-11 10:45:13 +08:00
天元
f694d1ad5d
add tests
2021-01-08 18:16:03 +08:00
天元
01bd05d0a5
add test for component revision hook
2020-12-31 16:41:55 +08:00
zzxwill
dfdb833abe
Check trait CR is created and update ApplicationConfiguration
2020-12-31 09:16:56 +08:00
zzxwill
d8d891f6c9
Allow trait to work without TraitDefinition
...
Fix the issue of applying trait if its traitdefinition
doesn't exits.
To fix issue #839
2020-12-30 00:14:26 +08:00
Jianbo Sun
69dcf2fc5a
Merge pull request #807 from wonderflow/datainput
...
support strategy patch datainput merge for slice case
2020-12-25 12:42:13 +08:00
天元
e3b4bcd2ca
support custom component revision
2020-12-25 09:40:54 +08:00
天元
4bed55b400
support strategy patch datainput merge for slice case
2020-12-23 21:53:05 +08:00
天元
7609da212f
fix workload can not be update when revision enable trait is attached
2020-12-21 21:12:19 +08:00
天元
3cb172f7ff
minor fix
2020-12-15 13:55:36 +08:00
Jian.Li
e882a650ae
Extend application's capabilities by trait definition ( #742 )
...
* add dsl pkg
* realize context capabilities for application
* fix golint
* fix check-diff
* upgrade vela server sample
* comment group
* Definition Reference be Optional & fix three-part trait crd apply without namespace
* Improve samples
2020-12-13 20:00:06 -08:00
Jianbo Sun
1ec07b0198
Merge pull request #722 from wonderflow/doc
...
add some detail for route design
2020-12-07 11:29:13 +08:00
天元
799bcf9cef
add some detail for route design
2020-12-04 17:27:41 +08:00
天元
21cae61f93
build version into vela-core and lock helm version on release
2020-12-04 16:45:37 +08:00
天元
9aae23e163
fix route reconcile too frequency and replace oam-runtime imports
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-12-01 14:05:12 +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
天元
6b931d9b32
fix unstable test as workload changed by reconcile
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-27 20:11:26 +08:00
天元
43754e89b6
merge CI and makefile
...
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com >
2020-11-27 12:16:36 +08: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