e6bcc7de1f
Fix: add parse comments in lookupScript to make patch work ( #3843 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 1758dc319d )
Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-05-10 13:38:07 +08:00
7af36b0971
Fix: remove unused variable ( #3380 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
(cherry picked from commit dc7b799d97 )
Co-authored-by: Somefive <yd219913@alibaba-inc.com >
2022-03-07 11:59:57 +08:00
316e21791f
fix windows bug ( #3357 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
(cherry picked from commit 7b87a23f5a )
Co-authored-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-03-03 18:13:13 +08:00
5b59db5f0b
[Backport release-1.2] Fix: add process context in workflow ( #3335 )
...
* Fix: add process context in workflow
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 9af66e2c0b )
* add context data in process context
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 3b17fdf525 )
* delete usesless func
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 81f0c56f76 )
* fix ut
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit d7d2670260 )
* use multi cluster ctx in process ctx
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 019e32c321 )
* remove debug log
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 92af8a013a )
Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-02-28 11:03:26 +08:00
ec7aa50584
[Backport release-1.2] Fix: addon store&show complicated parameter ( #3315 )
...
* fix
fix complicate args storage
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
(cherry picked from commit c6ff4f1241 )
* wrap logic in func and add mock test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
solve confict
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix
(cherry picked from commit 1e000ea33f )
Co-authored-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-02-23 14:36:27 +08:00
739bed82c2
Feat: add style and immutable parameters for uischema ( #3314 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
(cherry picked from commit 01093c7170 )
Co-authored-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-23 14:33:19 +08:00
wyike and GitHub
bf03898851
cherry-pick 3340 to release 1.2 ( #3313 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-02-23 13:31:09 +08:00
1ae4216a7a
Feat: rework cluster to align velaux and cli ( #3307 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
(cherry picked from commit 800d46f038 )
Co-authored-by: Somefive <yd219913@alibaba-inc.com >
2022-02-22 16:24:01 +08:00
2b97960608
[Backport release-1.2] Fix: Let versioned controller uses a separate election locker in one cluster. ( #3306 )
...
* versioned leader election id
Signed-off-by: Jian.Li <lj176172@alibaba-inc.com >
(cherry picked from commit f55b839b0f )
* modify GenerateLeaderElectionID
Signed-off-by: Jian.Li <lj176172@alibaba-inc.com >
(cherry picked from commit 23230f711c )
* add license header
Signed-off-by: Jian.Li <lj176172@alibaba-inc.com >
(cherry picked from commit ec987e5fde )
Co-authored-by: Jian.Li <lj176172@alibaba-inc.com >
2022-02-21 22:00:31 +08:00
af29eb020f
[Backport release-1.2] Fix: change seldon service from istio to ambassador ( #3303 )
...
* Fix: change seldon service from istio to ambassador
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 29328cc86d )
* fix lint
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit ade7a7de48 )
* get service name form sdep
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 553cb68fb3 )
Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-02-20 13:07:03 +08:00
wyike and GitHub
f9ee044d45
cherry pick 3280 ( #3301 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-02-20 13:05:37 +08:00
eb5c730e36
Fix: not steady unit test ( #3295 )
...
The UT `TestGetOpenAPISchemaFromTerraformComponentDefinition` won't
succeed 100%. The required variables in the generated isn't in the expected
order all the time.
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
(cherry picked from commit 0632044bca )
Co-authored-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-02-18 15:18:34 +08:00
Jian.Li and GitHub
4d50017622
Feat: application support controller requirement ( #3192 ) ( #3290 )
...
* application controller version control
Signed-off-by: Jian.Li <lj176172@alibaba-inc.com >
* modify command arg name
Signed-off-by: Jian.Li <lj176172@alibaba-inc.com >
2022-02-18 13:05:33 +08:00
6d7180af2d
Fix: vela status api can not return customized arguments of addon ( #3277 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
(cherry picked from commit 1580b1030a )
Co-authored-by: StevenLeiZhang <zhangleiic@163.com >
2022-02-17 09:44:12 +08:00
3e47887b72
Fix: add DisableUpdateAnnotation for addon ( #3272 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 936a2fe1db )
Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-02-16 15:30:20 +08:00
4934447e75
[Backport release-1.2] Feat: add seldon virtual service support in endpoints ( #3269 )
...
* Feat: add seldon virtual service support in endpoints
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 6c4015792e )
* fix ut
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 4bd9716030 )
Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-02-16 14:29:07 +08:00
859ca7567f
Fix: fixed required items for a Terraform ComponentDefinition ( #3258 )
...
If a Terraform variable is required, the item in OpenAPI schema
is required.
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
(cherry picked from commit 87a6e44e97 )
Co-authored-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-02-15 19:54:00 +08:00
2e67238b61
Fix: registry don't have enough info to build a reader ( #3249 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
(cherry picked from commit 8db1d2b616 )
Co-authored-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-14 18:40:24 +08:00
341e07b636
Fix: fix panic when user disable create apprevision ( #3247 )
...
Signed-off-by: yangsoon <songyang.song@alibaba-inc.com >
(cherry picked from commit fb0983041d )
Co-authored-by: yangsoon <songyang.song@alibaba-inc.com >
2022-02-14 17:55:50 +08:00
f8ba3d5d00
[Backport release-1.2] Fix: can not collector pod list with rollout trait ( #3240 )
...
* Fix: can not collector pod list with rollout trait
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
(cherry picked from commit 6365df4737 )
* Fix: cue format error
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
(cherry picked from commit 0a59d0c051 )
* Fix: default values and optional parameters cannot coexist
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
(cherry picked from commit d8e08b09d8 )
Co-authored-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-14 13:05:44 +08:00
d540491f46
Fix: remove duplicative route in application webservice. ( #3239 )
...
Signed-off-by: wangcanfeng <wangcanfeng@corp.netease.com >
(cherry picked from commit dab3d2d2c6 )
Co-authored-by: wangcanfeng <wangcanfeng@corp.netease.com >
2022-02-14 13:05:24 +08:00
30c492a50a
Fix: apply crd error that the annotations too lang ( #3234 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
(cherry picked from commit 8067f3fe5f )
Co-authored-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-14 13:03:06 +08:00
38d2bf6839
Fix: the definition namespace is empty ( #3230 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
(cherry picked from commit c0c9b415a6 )
Co-authored-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-12 11:36:39 +08:00
fbef61d076
[Backport release-1.2] Fix: disable cochange for apprev when def changes ( #3221 )
...
* Fix: disable cochange for apprev when def changes
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
(cherry picked from commit f67d1c7e08 )
* Fix: add test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
(cherry picked from commit e3f95763ae )
Co-authored-by: Somefive <yd219913@alibaba-inc.com >
2022-02-10 11:42:04 +08:00
bcc978380f
[Backport release-1.2] Feat: support install and uninstall vela core ( #3209 )
...
* Feat: support install and uninstall vela core
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
(cherry picked from commit 330b20cabd )
* Feat: support upgrade crd
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
(cherry picked from commit 61505a92d3 )
* Feat: support set reuse args
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
(cherry picked from commit 9ae203f961 )
* Feat: apply CRD before install or upgrade
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
(cherry picked from commit 0815ba6580 )
Co-authored-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-09 11:58:11 +08:00
b9f9f7f3f9
Fix: support more Terraform variable types ( #3207 )
...
Support Any, set and some complicated variable types
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
(cherry picked from commit c37ba34fc7 )
Co-authored-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-02-08 18:50:58 +08:00
18ceb467ed
Feat: add componentName in context for traitDefinition ( #3202 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
(cherry picked from commit 2e07453888 )
Co-authored-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-02-08 16:27:19 +08:00
06eb8f055d
[Backport release-1.2] Feat: dispatch manifests in concurrent ( #3201 )
...
* Feat: dispatch manifests in concurrent
Signed-off-by: yangsoon <songyang.song@alibaba-inc.com >
(cherry picked from commit 774f108d19 )
* Fix: merge workflow pkg convert to pkg util
Signed-off-by: yangsoon <songyang.song@alibaba-inc.com >
(cherry picked from commit 0a09a2fa8d )
Co-authored-by: yangsoon <songyang.song@alibaba-inc.com >
2022-02-08 16:26:54 +08:00
9dec98fbba
Fix: add unit test for getting Terraform Configuration from remote git ( #3194 )
...
Add another unit test when the configuration of Terraform locates
in a subpath of a git remote repository
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
(cherry picked from commit bef07e9a08 )
Co-authored-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-02-08 10:21:41 +08:00
42e7f04267
Fix: error msg in webhook too complicated to read ( #3170 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
(cherry picked from commit ddc272efa1 )
Co-authored-by: Somefive <yd219913@alibaba-inc.com >
2022-01-28 16:19:59 +08:00
29ecc5c0df
Feat: support vela show for workflow step definition ( #3161 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 23852b3d10 )
Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-01-25 15:05:46 +08:00
e9f7cf7c23
Fix: add context parameters into the error message ( #3159 )
...
Signed-off-by: zeed-w-beez <zeed.w.zhao@gmail.com >
(cherry picked from commit 170888063d )
Co-authored-by: zeed-w-beez <zeed.w.zhao@gmail.com >
2022-01-25 13:28:01 +08:00
cebeff867a
[Backport release-1.2] Feat: addon parameter support ui-shcema ( #3155 )
...
* Feat: addon parameter support ui-shcema
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix ci
(cherry picked from commit 8e2bf9c68d )
* add more tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
(cherry picked from commit 661d9f7a47 )
Co-authored-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-01-25 10:47:07 +08:00
7902a19aae
[Backport release-1.2] Fix: retrieve Terraform variables from variables.tf ( #3153 )
...
* Fix: retrieve Terraform variables from variables.tf
If Terraform modules/resources are stored in remote git repos, get
variables from file `varialbes.tf`, or from `main.tf`.
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
(cherry picked from commit b257825af6 )
* set the required field per the variables' property
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
(cherry picked from commit 4b151582c5 )
* fix ut issue
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
(cherry picked from commit b52145c8a4 )
* fix ut issue
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
(cherry picked from commit 410acc8ae2 )
Co-authored-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-01-24 13:56:59 +08:00
ee8773e1cf
[Backport release-1.2] Fix: handle workflow cache reconcile ( #3148 )
...
* Fix: handle workflow cache reconcile
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 12df87ac11 )
* fix return and move backoff to memory
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit ee876f53c3 )
* handle failed to patch case
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit eac4a1b370 )
* add store in err case
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 32825c5c41 )
* make reviewable
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 02b9c60922 )
* fix ut
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit bff156cbe6 )
* do cleanup in ut
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
(cherry picked from commit 463bd96e78 )
Co-authored-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-01-24 10:37:48 +08:00
8cf2f20846
[Backport release-1.2] Fix: workflow skip executing all steps occasionally ( #3147 )
...
* fix asi
Signed-off-by: Jian.Li <lj176172@alibaba-inc.com >
(cherry picked from commit 2c26caedd3 )
* fix lint
Signed-off-by: Jian.Li <lj176172@alibaba-inc.com >
(cherry picked from commit b63e892eb3 )
* add trace tag
(cherry picked from commit 1a6d79642e )
* add args for this feature
Signed-off-by: Jian.Li <lj176172@alibaba-inc.com >
(cherry picked from commit b9181b9fc0 )
* enable-asi-compatibility
Signed-off-by: Jian.Li <lj176172@alibaba-inc.com >
(cherry picked from commit 5d013db0bd )
Co-authored-by: Jian.Li <lj176172@alibaba-inc.com >
2022-01-23 10:13:59 +08:00
cd036b87ae
Feat: support wild match for env patch ( #3116 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
(cherry picked from commit fe0d33c6d9 )
Co-authored-by: Somefive <yd219913@alibaba-inc.com >
2022-01-18 18:07:05 +08:00
7e447c6532
fix revision will change when add new trait with skiprevisionaffect to application ( #3117 )
...
Signed-off-by: chwetion <chwetion@foxmail.com >
(cherry picked from commit 86f6fef216 )
Co-authored-by: chwetion <chwetion@foxmail.com >
2022-01-18 13:41:48 +08:00
d34372bf47
[Backport release-1.2] Feat: add JFrog webhook trigger ( #3114 )
...
* add jfrog webhook to update application image
Signed-off-by: chwetion <chwetion@foxmail.com >
(cherry picked from commit 962fce6870 )
* edit jfrog default request header
Signed-off-by: chwetion <chwetion@foxmail.com >
(cherry picked from commit a977bfc9af )
Co-authored-by: chwetion <chwetion@foxmail.com >
2022-01-18 11:51:15 +08:00
Somefive and GitHub
12f392cd92
Fix: rollout workload namespace not aligned with rollout ( #3107 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-01-17 20:06:27 +08:00
StevenLeiZhang and GitHub
af27e6a776
ignore vela-system, which is specified in needNamespace for addon metadata information ( #3109 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
2022-01-17 20:02:05 +08:00
StevenLeiZhang and GitHub
f57815a5bf
ignore files under the addon path of github addon registry ( #3099 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
2022-01-17 20:01:46 +08:00
Somefive and GitHub
69527b257c
Feat: support external revision in patch component ( #3106 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-01-17 19:29:28 +08:00
barnettZQG and GitHub
d88d4d8eca
Fix: clear old data in mongodb unit test case ( #3103 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-01-17 19:06:29 +08:00
barnettZQG and GitHub
fccc5df25e
Fix: can't query data from the MongoDB ( #3095 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-01-17 11:25:09 +08:00
6cee468743
Feat: add more performance optimization and prometheus metrics for controller ( #3086 )
...
* Feat: add more prometheus metrics
Signed-off-by: yangsoon <yangsoonlx@gmail.com >
* Feat: add detail gc rt duration metrics
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add monitor to client
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add all cache object
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Fix: watch job
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add deleg client
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add optimize for rt list and disable controllerrevision
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add apprev disable optimize
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Fix: optimize log
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add time recorder for app ctrl
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add in-memory workflow context
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add reconcile-reduction & random-pick-gc & optimize rt record
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
* Feat: add optimize for healthcheck & resourcetracker trigger
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: refactor
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: record the resource-tracker number by informer event-handler
Signed-off-by: yangsoon <songyang.song@alibaba-inc.com >
* Feat: add promethus collect annotation in template
Signed-off-by: yangsoon <songyang.song@alibaba-inc.com >
* Fix: command line comment bug
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: rename args and remove legacy controller metrics
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: make code reviewable
Signed-off-by: yangsoon <songyang.song@alibaba-inc.com >
* Chore: optimize flag descriptions
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: break optimize package
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: gc policy test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Co-authored-by: Yin Da <yd219913@alibaba-inc.com >
Co-authored-by: yangsoon <songyang.song@alibaba-inc.com >
2022-01-14 15:18:02 +08:00
wyike and GitHub
102a155194
fix lost create time and spell error ( #3089 )
...
Signed-off-by: wangyike <wangyike_wyk@163.com >
2022-01-14 15:10:56 +08:00
wyike and GitHub
f39a3fb792
Feat: system information collection logic in apiserver ( #3082 )
...
* Feat: userInfoCollection
Signed-off-by: wangyike <wangyike_wyk@163.com >
* Signed-off-by: wangyike <wangyike_wyk@163.com >
change enable/disable to update interface
Signed-off-by: wangyike <wangyike_wyk@163.com >
2022-01-14 10:16:31 +08:00
Somefive and GitHub
8b5d7ed395
Feat: reset re-sync time ( #3008 )
...
* Feat: set resync
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: rename re-sync period
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: refactor return value
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-01-13 20:12:54 +08:00
wyike and GitHub
5b1c47c918
cue template health check skipStandard workload and fix test diverge ( #3087 )
...
Signed-off-by: wangyike <wangyike_wyk@163.com >
add annotation
Signed-off-by: wangyike <wangyike_wyk@163.com >
set skipStandardworkload in wl
Signed-off-by: wangyike <wangyike_wyk@163.com >
add annotation
Signed-off-by: wangyike <wangyike_wyk@163.com >
2022-01-13 19:08:43 +08:00