Shaw Ho
f0cbe816a6
Fix: ControllerRevision typo ( #3214 )
...
Signed-off-by: Xiaoxi He <xxhe@alauda.io >
2022-02-10 15:43:11 +08:00
Somefive
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
17794e4ce1
Fix: upgrade package github.com/docker/cli for CVE-2021-41092 ( #3216 )
...
* Fix: upgrade package github.com/docker/cli for CVE-2021-41092
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Chore: change go version to 1.17
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Chore: change go mod
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change install cue shell
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-09 19:18:40 +08:00
barnettZQG
15418a6523
Feat: the golang version upgrade to 1.7 ( #3208 )
...
* Feat: the golang version upgrade to 1.7
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: install expat lib
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-09 15:17:50 +08:00
barnettZQG
fa1409f974
Fix: fix flag conflict ( #3211 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-09 15:17:04 +08:00
Jianbo Sun
3157e65d8a
Feat: Add image scan for vela core ( #3210 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-02-09 14:00:12 +08:00
barnettZQG
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
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
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
yangs
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
Jianbo Sun
0d8a9fc0de
Chore: remove hack/website as docs moved to kubevela.io repo ( #3197 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-02-08 16:24:26 +08:00
Jian.Li
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
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
Chazza
53198a9d9d
Add nodeselector to jobs ( #2811 )
...
Signed-off-by: Chazza <github@whalecoiner.com >
Co-authored-by: Chazza <charlie@whalecoiner.com >
2022-02-08 09:36:51 +08:00
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