ZhongsJie
285a5cce18
Fix: ignore save when source is local-path ( #4417 )
...
Signed-off-by: ZhongsJie <zhongsjie@gmail.com >
2022-07-21 14:30:49 +08:00
ZhongsJie
d386b64ea2
Feat: provide defualt namespace for dry-run ( #4416 )
...
Signed-off-by: ZhongsJie <zhongsjie@gmail.com >
2022-07-21 10:04:20 +08:00
Tianxin Dong
181bc926f6
Fix: fix backoff time after default backoff times ( #4413 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-07-20 15:45:23 +08:00
barnettZQG
ab6c1a57eb
Fix: the empty SectionName causes panic ( #4408 )
...
* Fix: the empty SectionName causes panic
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: unit test bug
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-19 22:05:56 +08:00
TIEDPAG
e37b0276c8
Feat: support addon helm repo skip tls verify ( #4122 ) ( #4146 )
...
* Feat: support addon helm repo skip tls verify (#4122 )
Signed-off-by: damianqin <damianqin@tiedpag.club >
* Fix: mv http server to BeforeSuite
Signed-off-by: damianqin <damianqin@tiedpag.club >
* Fix: fix ci error
Signed-off-by: damianqin <damianqin@tiedpag.club >
* Fix: fix merge
Signed-off-by: damianqin <damianqin@tiedpag.club >
* Feat: support addon helm repo skip tls verify (#4122 )
Signed-off-by: damianqin <damianqin@tiedpag.club >
* Fix: mv http server to BeforeSuite
Signed-off-by: damianqin <damianqin@tiedpag.club >
* Fix: fix ci error
Signed-off-by: damianqin <damianqin@tiedpag.club >
* Fix: fix ci
Signed-off-by: damianqin <damianqin@tiedpag.club >
Co-authored-by: damianqin <damianqin@tiedpag.club >
Co-authored-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-07-19 18:00:28 +08:00
Tianxin Dong
16dfc1bf8a
Feat: add pending phase in workflow step ( #4365 )
...
* Feat: add pending phase in workflow step
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix test
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix lint
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix test
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-07-19 14:31:20 +08:00
barnettZQG
f876a0b8f8
Fix: only compare with the default environment ( #4402 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-19 11:01:33 +08:00
wyike
60129e0f94
Fix: fetch workflowpolicy policy info when request detail policy info ( #4403 )
...
* fix several bugs
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix commentes
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
move test back
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-07-19 10:29:41 +08:00
Somefive
e747eae779
Fix: prevent apply existing orphan resource ( #4399 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-07-18 19:23:41 +08:00
Jianbo Sun
b24e7523d8
Feat: generate docs for reference automatically ( #4377 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Feat: refactor hardcode example to embd.FS
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Fix: refactor doc gen for general types
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Fix: update generate format
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Fix: generate terraform reference docs
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Feat: add definition reference generate script
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Fix: refine output format
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Fix: remove dup annotation
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Fix: update doc
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Fix: add i18n support
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Feat: add translation
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Feat: add policy definition gen
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Fix: add compatibility for lable Annotation change
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Fix: add more tests
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Feat: allow mark example doc url on annotation
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Fix: align vela show with vela def doc-gen, add vela def show equals with vela show
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-07-18 19:22:55 +08:00
barnettZQG
a519a6c89d
Feat: optimize the dry run feature ( #4364 )
...
* Feat: optimize the dry run feature
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the bcode
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change some names
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-18 14:01:11 +08:00
Charlie Chiang
ace23f1c6f
Feat: enhance addon init ( #4370 )
...
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
2022-07-18 10:40:42 +08:00
barnettZQG
945852284f
Fix: read the ca cert from the test env ( #4391 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-15 22:09:13 +08:00
wyike
203a7dfbda
add two fileds ( #4383 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-07-15 16:00:59 +08:00
barnettZQG
1fc65f56bf
Feat: support HTTPRoute to generate endpoint ( #4378 )
...
* Feat: support HTTPRoute to generate endpoint
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: print the inner in CLI
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the comment
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-14 18:15:20 +08:00
barnettZQG
e52ae78bd7
Fix: the project manager no permission to query the project base info ( #4380 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-14 11:54:58 +08:00
wyike
930d866e09
Feat: velaux support override policy ( #4352 )
...
* velaux support override policy
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
add comments
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* in the middle of add test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix
in the middle of work
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
add test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* add comments
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
reverse flacky test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix goling
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* add test for syspend step
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-07-14 11:52:49 +08:00
Somefive
3159da0bb3
Fix: several minor bugs ( #4367 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-07-14 10:51:22 +08:00
Jianbo Sun
072b80f6c6
Feat: support vela def apply for yaml definition ( #4372 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-07-13 15:31:30 +08:00
Jianbo Sun
cde76989a0
Feat: support resource topology for endpoints ( #4362 )
...
* Feat: support resource topology for endpoints
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Fix: add and refactor the test for endpoint
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-07-13 14:51:06 +08:00
huiwq1990
b0020b0600
cleanup cluster exist check ( #4357 )
...
Signed-off-by: huiwq1990 <huiwq1990@163.com >
2022-07-12 11:11:06 +08:00
Tianxin Dong
a8d5403fee
Feat: optimize imports packages to reduce 75% cpu with better performance ( #4345 )
...
* Feat: optimize imports packages
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix test
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-07-11 17:32:18 +08:00
Jianbo Sun
4bd4e9014f
Feat: support read from URL for --file command globally ( #4346 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-07-11 16:59:54 +08:00
Somefive
0cb85d897a
Fix: health check use original ns if no override and original exists ( #4349 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-07-11 16:46:14 +08:00
Somefive
2cfedf7439
Fix: escape resource name for label selector ( #4348 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-07-11 15:26:14 +08:00
Somefive
b9b6c5f8bf
Fix: ignore empty output file ( #4347 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-07-11 14:59:32 +08:00
barnettZQG
b7bf9df55f
Feat: supports multiple difference compare modes ( #4334 )
...
* Feat: supports multiple difference alignment modes
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change field name
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-08 09:38:18 +08:00
Somefive
cae7b327f8
Feat: reuse informer for app metrics ( #4336 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-07-07 16:46:35 +08:00
Somefive
fd70aa96e9
Fix: disable apprev status update when apprev disabled ( #4337 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-07-07 15:32:46 +08:00
Charlie Chiang
3a6d947f07
Feat: create VelaQL views using vela ql apply ( #4324 )
...
* Feat: create VelaQL views using `vela ql create`
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: format imports
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: merge reusable function
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: format import
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: make changes according to comments
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add tests for `status` or `export` fields
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: fix tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: fix tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: make changes according to comments
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: rename variables
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
2022-07-07 13:59:16 +08:00
wyike
5de790413f
Feat: support self-signed helm repo ( #4322 )
...
* support self-signed helmrepo
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix golint
fix golint error
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* add certkey and certfile
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-07-07 12:21:59 +08:00
barnettZQG
09acc8a989
Fix: the target conflict when syncing the application ( #4312 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-06 17:54:16 +08:00
Jianbo Sun
37605a1a8d
Fix: filter last applied config for CRD, fixes #3679 ( #4331 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-07-06 17:42:54 +08:00
wyike
4ed3171b8e
Fix: more cluster system info range. ( #4329 )
...
* more collect info
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix comments
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-07-06 16:13:33 +08:00
huiwq1990
a3ab08741e
end logic not use ( #4325 )
...
Signed-off-by: huiwq1990 <huiwq1990@163.com >
2022-07-06 15:46:10 +08:00
huiwq1990
c97124a30f
Feat: add policy parser test ( #4174 )
...
Signed-off-by: huiwq1990 <huiwq1990@163.com >
2022-07-06 15:42:06 +08:00
Charlie Chiang
da5282a15d
Feat: show or list revisions in vela def get and vela show ( #4307 )
...
* Feat: support --version when getting definitions
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: add tests for vela show
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Style: format imports
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: fix tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: fix tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: fix tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
2022-07-06 15:41:00 +08:00
Somefive
4509b974ad
Feat: enhance deploy workflow step generator ( #4315 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-07-06 14:31:46 +08:00
barnettZQG
0e71a9d044
Feat: set the cloudshell instance max live time ( #4313 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-05 10:58:00 +08:00
Jianbo Sun
eea8570e10
Feat: add the CloudShell feature ( #4280 )
...
* Feat: add the CloudShell feature
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: unit test bug
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: handle the error
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: change the auth package
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the CSR name
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the generate function
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: unit test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: e2e test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-01 23:31:15 +08:00
barnettZQG
2af8ab13d6
Fix: fail to query the application logs with the special characters ( #4305 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-07-01 20:14:05 +08:00
Jianbo Sun
9042bb29d5
Fix: Jfrog Webhook Handler Cannot Get Right Image ( #4301 )
...
Merge branch 'release-1.4'
Apply suggestions from code review
Co-authored-by: lqs429521992 <lqs429521992@qq.com >
Update webhook.go
Fix: format
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Co-authored-by: qingsliu <lqs429521992@qq.com >
2022-07-01 20:04:50 +08:00
Tianxin Dong
c6d170fef6
Fix: fix the goroutine leak in http request ( #4298 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-07-01 17:52:54 +08:00
Somefive
8f11b5b1a4
Fix: kube apply ignore userinfo for rt ( #4297 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-07-01 17:30:55 +08:00
wyike
7df0f20f70
support only provide vela or kubernetes version requirement ( #4284 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
helm package logic
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
delete useless code
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-07-01 17:06:22 +08:00
Somefive
51a60593cf
Fix: context.namespace use override namespace when rendering component and trait ( #4291 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-07-01 15:28:25 +08:00
huiwq1990
68d2d84880
addon use cluster sdk to check deploy ( #4282 )
...
Signed-off-by: huiwq1990 <huiwq1990@163.com >
2022-06-30 19:10:32 +08:00
Somefive
de37545a12
Feat: disable component revision for component wo rollout ( #4281 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-06-30 16:22:46 +08:00
Somefive
0469ba494e
Fix: controller use cluster client to support empty label selector selecting local cluster ( #4275 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-06-29 19:04:28 +08:00
Siege Lion
cdafc03e7d
Feat: search useful addon version automatically ( #4232 )
...
* Feat: search useful addon version automatically
Verify whether the current addon version meets the system version requirements according to the obtained specified version. There are two system version requirements: Vela core version, K8s version.
If meet the requirements and continue to perform the next task.
If the requirements are not met, obtain the highest version that meets the requirements
Refs #4181
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: Optimize function implementation and code order, and modify test cases
add more comments of function
optimize package import sequence
optimize user interaction logic and error information extraction logic
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: change template string of regular expression to const type string
Signed-off-by: HanMengnan <1448189829@qq.com >
2022-06-29 17:46:56 +08:00