Somefive
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
Jianbo Sun
ce25bd9985
Chore: add changelog of v1.2.x ( #3167 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-01-26 11:23:01 +08:00
Oliver Otte
225b59156f
Fix: Use systemDefinitionNamespace core Helm Chart ( #3163 )
...
Use value in Addon Registry CM and the Test Application
Signed-off-by: Oliver Otte <otte@gonicus.de >
2022-01-25 19:16:38 +08:00
Jianbo Sun
a73a4c64c2
Fix: krew install template of kubectl-vela.exe ( #3162 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-01-25 18:46:05 +08:00
Tianxin Dong
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
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
8d13c3c7bc
fix: vela addnon enable cannot support = ( #3156 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-01-25 13:22:45 +08:00
wyike
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
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
Zheng Xi Zhou
75dc45ced6
Fix: add providerRef in generated ComponentDefinition ( #3142 )
...
If the provider is not provider, append the providerRef section in
the generated ComponentDefinition
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-01-24 10:27:37 +08:00
Sunghoon Kang
665e2b6340
Feat: extend gateway trait to set class in spec ( #3138 )
...
* Feat: extend gateway trait to set class in spec
`kubernetes.io/ingress.class` annotation is deprecated in favor of
`.spec.ingressClassName`. However, there is no way to set it through
the gateway trait for now.
This commit extends the gateway trait by adding `classInSpec` to
parameter. Forcing the use of `.spec.ingressClassName` makes sense, but
some ingress controllers (including old versions) may not recognize
this field. Therefore, set default value of `classInSpec` to `false`
for backward compatibility.
Signed-off-by: Sunghoon Kang <hoon@linecorp.com >
* Chore: update classInSpec usage
Signed-off-by: Sunghoon Kang <hoon@linecorp.com >
2022-01-23 10:11:47 +08:00
Tianxin Dong
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
Sunghoon Kang
4ad8913bbd
Fix: prioritize namespace flag for vela up ( #3135 )
...
* Fix: prioritize namespace flag for `vela up`
Currently, CLI applies application to `default` namespace when there is
no explicit namespace in application spec, even if the namespace flag
is set.
This commit fixes issue by overriding the namespace if the namespace
flag is set.
Signed-off-by: Sunghoon Kang <hoon@linecorp.com >
* Test: add test cases for overriding namespaces
Signed-off-by: Sunghoon Kang <hoon@linecorp.com >
2022-01-21 10:22:25 +08:00
Zheng Xi Zhou
947455adb9
Fix: support generate Terraform ComponentDefinition from local HCL file ( #3132 )
...
Besides generating a Terraform ComponentDefinition from a remote git repo,
support generate one from local HCL file
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-01-20 14:15:22 +08:00
Jian.Li
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
StevenLeiZhang
7bdd3dd6e8
add imagePullSecrets for helm templates to support private docker registry ( #3122 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
2022-01-19 12:59:21 +08:00
Tianxin Dong
408c893cff
Feat: add port name in webservice ( #3110 )
...
* Feat: add port name in webservice
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix port name in container
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* generate port name if not specified
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-01-18 18:59:48 +08:00
Zheng Xi Zhou
dd9ec2325a
Fix: add app samples for Terraform definition ( #3118 )
...
Added application samples for all Terraform typed ComponentDefinition,
and also localize the title for AWS and AZure
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-01-18 18:08:30 +08:00
chwetion
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
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
qiaozp
bd2e574007
Fix: trait/comp command output without a new line ( #3112 )
...
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
2022-01-18 12:46:59 +08:00
chwetion
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
12f392cd92
Fix: rollout workload namespace not aligned with rollout ( #3107 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
v1.2.1
2022-01-17 20:06:27 +08:00
StevenLeiZhang
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
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
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
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
Zheng Xi Zhou
4e881b44af
Fix: support generate cloud resource docs in Chinese ( #3079 )
...
* Fix: support generate cloud resource docs in Chinese
`vela def doc-gen` will also generate Chinese cloud resource docs
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* Continue the development
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* add ut
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* add ut and fix linting issue
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* Address comments
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* Fix `Should not use dot imports. (ST1001) ` issue
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* add copyright
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-01-17 16:18:59 +08:00
wyike
800b50cf0b
fix acr image no version ( #3100 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-01-17 16:09:21 +08:00
Jianbo Sun
3d9e1c7d80
Fix: use personel token of vela-bot instead of github token for homebrew update ( #3096 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-01-17 11:45:01 +08:00
barnettZQG
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
yangsoon
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 >
v1.2.0
2022-01-14 15:18:02 +08:00
wyike
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
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
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
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
Jianbo Sun
c298c98f25
Fix: vela logs for namespace get from CLI and add container name args ( #3084 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-01-12 21:22:42 +08:00
Jianbo Sun
7f7a9dcac0
Feat: vela up support read from stdin && refine CLI output && fix vela addon command ( #3080 )
...
* Feat: vela up support read from stdin
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Fix: addon name missed in output and fix test
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Chore: refine CLI output
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Fix: add retry-on conflict on CLI
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-01-12 17:43:08 +08:00
barnettZQG
b4732ed275
Feat: add cluster name in service endpoint ( #3076 )
...
* Feat: add cluster name in service endpoint
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: add cli unit test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-01-12 14:44:22 +08:00
chwetion
bfbdb85503
Feat: add DockerHub webhook trigger ( #3081 )
...
* add dockerhub webhook to update application image
Signed-off-by: chwetion <chwetion@foxmail.com >
* fix e2e webhook response return value
Signed-off-by: chwetion <chwetion@foxmail.com >
* add e2e for dockerhub webhook
Signed-off-by: chwetion <chwetion@foxmail.com >
Co-authored-by: chwetion <chwetion@foxmail.com >
2022-01-12 11:37:06 +08:00
Zheng Xi Zhou
f41e0a3bb5
Fix: change vela def gen-doc to vela def doc-gen ( #3078 )
...
* Fix: change `vela def gen-doc` to `vela def doc-gen`
Address the comments to change the command line name
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
* fix CI
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
Co-authored-by: Jianbo Sun <wonderflow.sun@gmail.com >
2022-01-12 11:35:41 +08:00
Jianbo Sun
19a542ff11
Feat: support vela up from remote url file ( #3075 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-01-11 17:28:45 +08:00
wyike
d64c78db47
Feat: addon enable support local dir for install offline ( #3066 )
...
* local reader
Signed-off-by: wangyike <wangyike_wyk@163.com >
* fix lint
Signed-off-by: wangyike <wangyike_wyk@163.com >
* fix comments and add test
Signed-off-by: wangyike <wangyike_wyk@163.com >
2022-01-11 11:29:10 +08:00
Kingram
ceb95229cd
Feat: add Harbor webhook trigger ( #3065 )
...
* Feat: add harbor webhook trigger (#3029 )
Signed-off-by: kingram <kingram@163.com >
* resolve comments
Signed-off-by: kingram <kingram@163.com >
* fix: add comments
Signed-off-by: kingram <kingram@163.com >
2022-01-10 21:26:43 +08:00
barnettZQG
ece47b5961
Fix: change namespace for the service-endpoints-view velaQL ( #3071 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-01-10 21:25:07 +08:00
Basuotian
8be11a7e7e
Feat: Add Lark support for notification ( #3053 ) ( #3059 )
...
Signed-off-by: Shuai Tian <tians1@xiaopeng.com >
Co-authored-by: Shuai Tian <tians1@xiaopeng.com >
2022-01-10 19:42:06 +08:00
Zheng Xi Zhou
b354d2faa9
Fix: generate Terraform ComponentDefinition by vela cli ( #3067 )
...
* Fix: generate Terraform ComponentDefinition by vela cli
Support generate Terraform typed ComponentDefinition by `vela def init`
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-01-10 19:12:32 +08:00
Jianbo Sun
3af323365b
Chore: refine CLI help message and docs ( #3068 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-01-10 17:45:20 +08:00
Jianbo Sun
6a512c02a6
Chore: add autogen CLI reference doc script ( #3063 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-01-10 15:28:04 +08:00
Minglong Song
b30ca0c8a2
Fix: Do not fiter event triggered by resync for application controller ( #3064 )
...
Signed-off-by: songminglong <1247768069@qq.com >
2022-01-10 14:48:58 +08:00