Kunshuai Zhu
4bae08c2e2
Fix: Optimize error msg of addon enable/upgrade local path ( #3222 )
...
* Optimize error msg of addon enable/upgrade local path
Signed-off-by: zhukunshuai <jookunshuai@gmail.com >
* Fix and add unit test
Signed-off-by: zhukunshuai <jookunshuai@gmail.com >
* Run make reviewable to include all changes
Signed-off-by: zhukunshuai <jookunshuai@gmail.com >
* remove test case for windows
Signed-off-by: zhukunshuai <jookunshuai@gmail.com >
* fix unit test.
Signed-off-by: zhukunshuai <jookunshuai@gmail.com >
2022-02-16 14:20:37 +08:00
Zheng Xi Zhou
46fce3262e
Fix: properties table of cloud resource doc is broken ( #3256 )
...
If one column of a table contianers multiple line of a json
struct, it will break the table.
Signed-off-by: Zheng Xi Zhou <zzxwill@gmail.com >
2022-02-16 11:03:11 +08:00
Zheng Xi Zhou
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
Wei (段少)
2fd8b7bc52
Feat: update owners_aliases ( #3246 )
...
* Update: ownerer-aliases
* Fix: keep up bootstrap-contributors
* Fix: reformat
* Fix: inherit all the maintainers from who maintain controller
2022-02-15 15:59:40 +08:00
Wei (段少)
a9e511d3a8
Feat: update logo to .svg ( #3254 )
2022-02-15 15:29:09 +08:00
Wei (段少)
37fb45bab8
Feat: update community.md ( #3248 )
2022-02-14 18:41:19 +08:00
barnettZQG
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
yangs
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
Avery
d145487b96
Add cli support for provider gcp and baidu. ( #3242 )
...
Signed-off-by: Nicola115 <2225992901@qq.com >
2022-02-14 16:40:18 +08:00
wyike
7523576905
Feat: support complicated addon parameter ( #3232 )
...
* support complicated addon parameter
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix: go mod tidy
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-02-14 14:02:16 +08:00
barnettZQG
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
wangcanfengxs
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
5ab9f0986e
Feat: remove the duplicate command ( #3228 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-14 10:35:31 +08:00
barnettZQG
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
fee4a3f2b8
Fix: the definition namespace is empty ( #3227 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-02-11 19:56:29 +08:00
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