old prince and GitHub
91c6458f35
Fix:deploy application api return value ( #3358 )
2022-03-03 18:27:13 +08:00
wyike and GitHub
1cb4426e4b
fix windows bug ( #3351 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-03-03 14:43:40 +08:00
Sunghoon Kang and GitHub
3399742709
Fix: clone request if round tripper modifies it ( #3354 )
...
Currently, multicluster round trippers are modifying request directly.
However, golang documentation says `RoundTrip` should not modify the
request.
This commit fixes round trippers to clone the request before the
modification.
https://pkg.go.dev/net/http#RoundTripper
Signed-off-by: Sunghoon Kang <hoon@linecorp.com >
2022-03-03 14:42:24 +08:00
c1_zh and GitHub
4ec919e009
Feat: Addon yaml files discovery logic improvement ( #3356 )
...
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
2022-03-03 13:12:23 +08:00
StevenLeiZhang and GitHub
dfd316ef7b
Fix: Position of parameter is always changing on addon's details page. ( #3345 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
2022-03-02 20:46:13 +08:00
barnettZQG and GitHub
342b853315
Feat: add api for delete component ( #3341 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-03-01 22:13:24 +08:00
Tianxin Dong and GitHub
d6cf2cdd2f
Fix: add process context in workflow ( #3318 )
...
* Fix: add process context in workflow
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* add context data in process context
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* delete usesless func
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix ut
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* use multi cluster ctx in process ctx
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* remove debug log
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-02-28 10:30:55 +08:00
wyike and GitHub
ca486be4eb
Fix: addon store&show complicated parameter ( #3310 )
...
* fix
fix complicate args storage
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* 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
2022-02-23 14:35:18 +08:00
barnettZQG and GitHub
13b1e85442
Feat: add style and immutable parameters for uischema ( #3309 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-23 14:23:07 +08:00
wyike and GitHub
16414a0d9f
Feat: addon support version check ( #3304 )
...
* addon support version check
add more tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* add kubernetes tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* add more tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* reorgnize the check logic
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix addon error bug in apiserver
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix comments
fix test
* add err addon bcode
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix comments
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-02-23 12:17:31 +08:00
Somefive and GitHub
7059c8df79
Feat: rework cluster to align velaux and cli ( #3299 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-02-22 15:48:22 +08:00
Jian.Li and GitHub
fb831345f0
Fix: Let versioned controller uses a separate election locker in one cluster. ( #3298 )
...
* versioned leader election id
Signed-off-by: Jian.Li <lj176172@alibaba-inc.com >
* modify GenerateLeaderElectionID
Signed-off-by: Jian.Li <lj176172@alibaba-inc.com >
* add license header
Signed-off-by: Jian.Li <lj176172@alibaba-inc.com >
2022-02-21 19:54:49 +08:00
Tianxin Dong and GitHub
170debf3ae
Fix: change seldon service from istio to ambassador ( #3278 )
...
* Fix: change seldon service from istio to ambassador
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix lint
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* get service name form sdep
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-02-20 13:06:24 +08:00
wyike and GitHub
015f3cf72b
Feat: vela can set default namespace and user can enable fluxcd addon by default ( #3280 )
...
* vela default namespace and enable addon by default
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix lint
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix cli error
fix comments
* add tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-02-18 17:23:50 +08:00
Zheng Xi Zhou and GitHub
37a523cbf7
Fix: not steady unit test ( #3293 )
...
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 >
2022-02-18 15:15:10 +08:00
朱晓兵 and GitHub
debd9f2b40
Feat: add api for app compare、reset、dryrun ( #3136 )
...
* Feat: add api for app compare or reset
Signed-off-by: zxbyoyoyo <596908030@qq.com >
* Fix: fix lint
Signed-off-by: zxbyoyoyo <596908030@qq.com >
* Fix: fix lint
Signed-off-by: zxbyoyoyo <596908030@qq.com >
* Fix: fix imports
Signed-off-by: zxbyoyoyo <596908030@qq.com >
2022-02-17 13:58:48 +08:00
StevenLeiZhang and GitHub
7102d7ad20
Fix: vela status api can not return customized arguments of addon ( #3275 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
2022-02-16 19:23:51 +08:00
Tianxin Dong and GitHub
7b42515818
Fix: add DisableUpdateAnnotation for addon ( #3260 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-02-16 15:27:22 +08:00
Tianxin Dong and GitHub
7ee4b14a88
Feat: add seldon virtual service support in endpoints ( #3259 )
...
* Feat: add seldon virtual service support in endpoints
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix ut
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-02-16 14:25:34 +08:00
Zheng Xi Zhou and GitHub
46967daf11
Fix: fixed required items for a Terraform ComponentDefinition ( #3257 )
...
If a Terraform variable is required, the item in OpenAPI schema
is required.
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-02-15 18:53:40 +08:00
barnettZQG and GitHub
4a29776e8e
Fix: registry don't have enough info to build a reader ( #3237 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-14 18:04:34 +08:00
65522cabdb
Fix: fix panic when user disable create apprevision ( #3244 )
...
Signed-off-by: yangsoon <songyang.song@alibaba-inc.com >
Co-authored-by: yangsoon <songyang.song@alibaba-inc.com >
2022-02-14 17:54:41 +08:00
barnettZQG and GitHub
5b356af7dc
Fix: can not collector pod list with rollout trait ( #3225 )
...
* Fix: can not collector pod list with rollout trait
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: cue format error
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: default values and optional parameters cannot coexist
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-14 13:05:01 +08:00
72a434134a
Fix: remove duplicative route in application webservice. ( #3236 )
...
Signed-off-by: wangcanfeng <wangcanfeng@corp.netease.com >
Co-authored-by: wangcanfeng <wangcanfeng@corp.netease.com >
2022-02-14 13:03:58 +08:00
barnettZQG and GitHub
9fe9f98e30
Fix: apply crd error that the annotations too lang ( #3231 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-14 10:33:50 +08:00
barnettZQG and GitHub
fee4a3f2b8
Fix: the definition namespace is empty ( #3227 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-11 19:56:29 +08:00
Somefive and GitHub
d7261cd965
Fix: disable cochange for apprev when def changes ( #3217 )
...
* Fix: disable cochange for apprev when def changes
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: add test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-02-10 11:40:46 +08:00
barnettZQG and GitHub
f6eea78ec8
Feat: support install and uninstall vela core ( #3181 )
...
* Feat: support install and uninstall vela core
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: support upgrade crd
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: support set reuse args
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: apply CRD before install or upgrade
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-09 11:48:38 +08:00
Zheng Xi Zhou and GitHub
24f147a72c
Fix: support more Terraform variable types ( #3204 )
...
Support Any, set and some complicated variable types
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-02-08 18:48:38 +08:00
Jianbo Sun and GitHub
7395994bdd
Feat: add componentName in context for traitDefinition ( #3200 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-02-08 16:26:16 +08:00
91125c6fec
Feat: dispatch manifests in concurrent ( #3060 )
...
* Feat: dispatch manifests in concurrent
Signed-off-by: yangsoon <songyang.song@alibaba-inc.com >
* Fix: merge workflow pkg convert to pkg util
Signed-off-by: yangsoon <songyang.song@alibaba-inc.com >
Co-authored-by: yangsoon <songyang.song@alibaba-inc.com >
2022-02-08 16:25:57 +08:00
Jian.Li and GitHub
68ada429f0
Feat: application support controller requirement ( #3192 )
...
* 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-08 15:44:38 +08:00
Zheng Xi Zhou and GitHub
2c41ee9c3c
Fix: add unit test for getting Terraform Configuration from remote git ( #3193 )
...
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 >
2022-02-08 10:16:13 +08:00
Somefive and GitHub
7e102d70e0
Fix: error msg in webhook too complicated to read ( #3169 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-01-27 16:09:23 +08:00
Tianxin Dong and GitHub
614472b95a
Feat: support vela show for workflow step definition ( #3140 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-01-25 15:03:38 +08:00
zeed-w-beez and GitHub
8b350a7258
Fix: add context parameters into the error message ( #3145 )
...
Signed-off-by: zeed-w-beez <zeed.w.zhao@gmail.com >
2022-01-25 13:27:26 +08:00
wyike and GitHub
2da60419fc
Feat: addon parameter support ui-shcema ( #3154 )
...
* Feat: addon parameter support ui-shcema
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix ci
* add more tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-01-25 10:43:38 +08:00
Zheng Xi Zhou and GitHub
7895560675
Fix: retrieve Terraform variables from variables.tf ( #3149 )
...
* 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 >
2022-01-24 11:52:07 +08:00
Tianxin Dong and GitHub
cb7bc0e7f4
Fix: handle workflow cache reconcile ( #3128 )
...
* Fix: handle workflow cache reconcile
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix return and move backoff to memory
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* handle failed to patch case
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* add store in err case
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* make reviewable
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix ut
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* do cleanup in ut
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-01-22 15:54:17 +08:00
Jian.Li and GitHub
354e92cfbd
Fix: workflow skip executing all steps occasionally ( #3025 )
...
* fix asi
Signed-off-by: Jian.Li <lj176172@alibaba-inc.com >
* fix lint
Signed-off-by: Jian.Li <lj176172@alibaba-inc.com >
* add trace tag
* add args for this feature
Signed-off-by: Jian.Li <lj176172@alibaba-inc.com >
* enable-asi-compatibility
Signed-off-by: Jian.Li <lj176172@alibaba-inc.com >
2022-01-19 16:07:19 +08:00
951506b79b
fix revision will change when add new trait with skiprevisionaffect to application ( #3032 )
...
Signed-off-by: chwetion <chwetion@foxmail.com >
Co-authored-by: chwetion <chwetion@foxmail.com >
2022-01-18 13:40:30 +08:00
Somefive and GitHub
14b1354a68
Feat: support wild match for env patch ( #3111 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-01-18 12:58:50 +08:00
438a9fe7a5
Feat: add JFrog webhook trigger ( #3104 )
...
* add jfrog webhook to update application image
Signed-off-by: chwetion <chwetion@foxmail.com >
* edit jfrog default request header
Signed-off-by: chwetion <chwetion@foxmail.com >
Co-authored-by: chwetion <chwetion@foxmail.com >
2022-01-18 10:25:28 +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