wyike
163415479b
Feat: list enabled addon from cluster interface and update addon ( #2832 )
...
make reviewable
lint
Feat: interface for update addon
nit import
fix comments
fix status args return
Signed-off-by: wangyike <wangyike_wyk@163.com >
2021-12-01 10:27:26 +08:00
barnettZQG
4294cc8a98
Feat: automatically populate the provider and region configuration for cloud app ( #2841 )
...
* Feat: automatically populate the provider and region configuration for cloud app.
* Fix: fix e2e test bug
* Fix: component name and type inconsistency
* Fix: fix unit test bug
* Fix: fix unit test bug
Co-authored-by: barnettZQG <yiyun.pro>
2021-12-01 10:26:33 +08:00
Zheng Xi Zhou
5630c02d7f
Fix: add more fields for Terraform types definitions in api schema ( #2836 )
...
* Fix: add more fields for Terraform types definitions in api schema
Added `writeConnectionStringSecrecto`, `region` and `deleteResoruce`
fields for Terraform types definitions in OpenAPI schema
* fix ci issue
* fix header
2021-12-01 10:03:08 +08:00
Tianxin Dong
8dad1eadb4
Feat: add alias in list record api ( #2833 )
2021-11-30 19:04:42 +08:00
Zheng Xi Zhou
c588f85438
Fix: sync status of Terraform typed components to application ( #2844 )
...
Synchronized the status of an Terraform typed components to .status.
services of the application
Signed-off-by: zzxwill <zzxwill@gmail.com >
2021-11-30 17:49:59 +08:00
朱晓兵
13c0b08081
Fix: update envBinding related workflow bug ( #2831 )
...
* Fix: fix update envBinding related workflow bug
* Fix: support cloudresource step
* Fix: add unit test
* Fix: add unit test
* Fix: add unit test
* unit test
Co-authored-by: zhuxiaobing <zhuxiaobing@lixiang.com >
2021-11-30 17:24:29 +08:00
Tianxin Dong
52ac570faa
Feat: add filter in list definitions ( #2835 )
...
* Feat: add filter in list definitions
* add workload type
2021-11-30 16:53:01 +08:00
Jian.Li
ec105cbb02
Fix: application conditions confusion. ( #2834 )
...
* fix condition confusion
* fix test cases
2021-11-30 16:43:27 +08:00
yangsoon
13b07674f1
Fix: fix flaky e2e-test of apiserver ( #2840 )
...
Co-authored-by: yangsoon <songyang.song@alibaba-inc.com >
2021-11-30 10:37:52 +08:00
Somefive
f9ecc02417
Feat: rework rt ( #2797 )
2021-11-29 16:14:30 +08:00
Tianxin Dong
d1f56743cc
Feat: add core definitions ( #2664 )
...
* Feat: add components and storage api-oriented defs
* add some examples
* change the dir
* resolve comments
* make reviewable
* fix example
* add labels and annotations in component
* add config map ref key in env
* add more traits
* add wfstep defs and rename
* fmt the cue
* re-struct all the definitions
* revert deprecated defs and add webhook def
* delete useless network trait
* fix generated tab
* fix indent
* fix webservice
* add labels
* comment webservice and worker's health check
* fix retainkeys
* fix webservice and worker's health check
* add suspend def which will be replaced by internal def
* fix cli and add labels
* fix script
* add ignore
* fix healthscope example
2021-11-29 15:02:16 +08:00
wyike
6184b6e0e6
Feat: install helm addon schema ( #2815 )
...
Fix: fix bug
Fix: rebase bug
fix rebase -i master
rename func
2021-11-29 13:24:52 +08:00
barnettZQG
96a9fb7d9e
Feat: support auto creating workflow step for cloud app ( #2826 )
...
* Feat: support auto creating workflow step for cloud app
* Fix: fix unit test bug
* Fix: fix component cant not find bug
Co-authored-by: barnettZQG <yiyun.pro>
2021-11-29 10:20:15 +08:00
Zheng Xi Zhou
92335eca17
Fix: support exposing cloud resource identifier and console url ( #2825 )
...
* Fix: support exposing cloud resource identifier and console url
To help users quickly navigate to the instance in the web console, exposing
necessary information in ComponentDefinition and convert them to Configuration
* fix ci
* Check whether wl.FullTemplate.ComponentDefinition is nil before getting annotations
2021-11-28 17:21:12 +08:00
yangsoon
23bceb9f9c
Fix: velaql miss query the resources created by the old application version ( #2824 )
...
Co-authored-by: yangsoon <songyang.song@alibaba-inc.com >
2021-11-27 13:57:48 +08:00
qiaozp
b05deeca55
Feat: add addon invisible field ( #2820 )
...
* Feat: add addon invisible field
* reviewable
2021-11-27 13:06:45 +08:00
Tianxin Dong
334ef864da
Feat: add alias in workflow step status ( #2821 )
...
* Feat: add alias in workflow step status
* fix lint
* add revision
2021-11-26 20:35:04 +08:00
Somefive
f5fc822a3e
Fix legacy resourcetracker not garbage collect while previousRT is empty or equals currentRT ( #2817 )
2021-11-26 17:48:17 +08:00
Somefive
dd84700657
Fix: health check appRev label bug ( #2816 )
...
* Fix: healthscope failed since appRevision is not set && rollout controller amend appRevision to workload since compRev does not have this one
* Fix: test
2021-11-26 17:47:43 +08:00
Somefive
782025507c
Fix: health check do not check resource in correct namespace while ns is override by envbinding ( #2818 )
2021-11-26 16:04:44 +08:00
Tianxin Dong
bab241e969
Feat: add more logs in workflow sync ( #2806 )
2021-11-26 15:34:25 +08:00
Zheng Xi Zhou
41f384e36b
Fix: addon name should not add prefix resources ( #2808 )
...
* Fix: addon name should not add prefix `resources`
- Adding prefix `resources will hit issues as:
'unable to parse requirement: invalid label value:
"resources-prometheus-server-register-grafana-datasource-5576f7f6b4":
at key: "controller.oam.dev/component": must be no more than 63 characters'
- This won't avoid the name confliction with other components
* address comments
2021-11-25 21:01:56 +08:00
qiaozp
b279df0451
Fix: add lock to avoid addon concurrency read error ( #2803 )
...
* make read func table driven
* add mutex
* fix
2021-11-25 11:50:29 +08:00
Zheng Xi Zhou
bbb1c1767e
Fix: remove .cue suffix from the component name of observability ( #2796 )
...
If the component name has a suffix `.cue`, it will hit issue of not
match a DNS name
2021-11-25 11:06:08 +08:00
Zheng Xi Zhou
216a95a2dd
Fix: the way to renderCUETemplate for terraform provider is wrong ( #2798 )
...
Fixed the probelm of renderring cue template for terraform provider
after #2788
2021-11-24 21:34:06 +08:00
Somefive
d1f70def0e
Fix: healthscope support envbinding (namespace) ( #2783 )
...
* Fix: healthscope support envbinding (namespace)
* Fix: ensure healthscope not patch status when application workflow is still running
2021-11-24 21:26:06 +08:00
wyike
66e8398ab8
Fix: add back missed commit and add tests ( #2781 )
...
* Fix: missed commit
Test: add test
* Fix: add e2e test addon rely on core feature
fix test
Fix: e2e-test
* Fix: create vela-system namespace when cluster join
fix
* Fix: fix comments add args in command
2021-11-24 20:59:08 +08:00
Tianxin Dong
f1eef83809
Feat: add workflow name for frontend ( #2787 )
2021-11-24 20:18:27 +08:00
barnettZQG
99d473df2a
Feat: translate the object type to Group ( #2786 )
...
* Feat: translate the object type to Group
* Fix: fix unit test bug
* Fix: fix workflow do not delete after delete env bug
Co-authored-by: barnettZQG <yiyun.pro>
2021-11-24 20:17:40 +08:00
Jian.Li
da251f1cb6
Fix: lookupByScript don't support import ( #2788 )
...
* fix lookupByScript
* fix lint
2021-11-24 19:57:54 +08:00
Zheng Xi Zhou
14770dff0d
Fix: arguments map[string]string doesn't support observability's args ( #2790 )
...
* Fix: arguments map[string]string doesn't support observability's args
As there are bool typed arguments, the current arguments type doesn't
support.
2021-11-24 19:52:59 +08:00
Zheng Xi Zhou
4b72954c86
Fix: addon with arguments could not be installed ( #2789 )
...
With the fix #2766 to install addon without arguments, fix the issue of
installing addons with arguments.
2021-11-24 19:52:13 +08:00
yangsoon
3d2fcacb5a
Feat: built in gc policy to application ( #2575 )
2021-11-24 15:38:13 +08:00
yangsoon
ec5e2b4660
Fix: clean up the view api ( #2779 )
2021-11-24 11:09:50 +08:00
barnettZQG
8c276e226b
Fix: fix update component and list workflow bug ( #2782 )
...
* Fix: fix update component and list workflow bug (#2763 )
* Fix: fix update component and list workflow bug
* Fix: change e2e test case
* Fix: change e2e case
Co-authored-by: barnettZQG <yiyun.pro>
* Fix: fix sync controller revision (#2772 )
Co-authored-by: Tianxin Dong <dongtianxin.tx@alibaba-inc.com >
Co-authored-by: barnettZQG <yiyun.pro>
2021-11-23 19:30:54 +08:00
yangsoon
6dff9ab679
Fix: fix compatibility test
2021-11-22 23:21:17 +08:00
Yin Da
395b594b84
Fix: fix package test
2021-11-22 22:02:49 +08:00
yangsoon
cee66fd03f
Fix: remove useless test
2021-11-22 21:46:49 +08:00
Hongchao Deng
5c46aa2f7f
fix header
2021-11-22 19:07:13 +08:00
Hongchao Deng
cf4aaf51c8
fix imports
2021-11-22 18:47:47 +08:00
Hongchao Deng
5e9d51997f
fix err check
2021-11-22 18:26:26 +08:00
Hongchao Deng
367ed23eea
fix gofmt
2021-11-22 18:22:55 +08:00
Yin Da
4f2bf29a65
Fix: upgrade aliyun provider for terraform controller
2021-11-22 17:58:04 +08:00
Hongchao Deng
8699346401
Merge branch 'apiserver' into merge
2021-11-22 17:27:40 +08:00
Hongchao Deng
e5aba94cd1
Merge branch 'apiserver' into merge
2021-11-22 17:25:50 +08:00
qiaozp
2b8a89d9fa
Fix: get addon omit uiSchema ( #2768 )
2021-11-22 17:13:05 +08:00
qiaozp
58293dcf20
Feat: check addon dependencies when enable ( #2741 )
2021-11-22 17:12:55 +08:00
Zheng Xi Zhou
5b7b7138e2
Fix: enable addon without arguments ( #2766 )
...
If an addon like `fluxcd` doesn't need arguments to be enabled, we
should not parse the arugments
2021-11-22 16:30:11 +08:00
Tianxin Dong
47a565d00d
Fix: controllerrevision can not be updated ( #2764 )
2021-11-22 10:58:23 +08:00
wyike
4ad27e9bcd
Fix: ( #2761 )
...
1. load component in arrary, so apply them in order addon's needNamespace will be apply firstly
2. apply application in controle plane will be first workflowStep
3. bigger application reconcile timeout context get avoid of time out
2021-11-21 21:03:41 +08:00