wyike
f5f5ff514f
Feat: cli manage addon registry and apiserver addon status return app status info ( #2910 )
...
* Fix: cli add addon registry
add more detail info for addon workflow info
Signed-off-by: wangyike <wangyike_wyk@163.com >
* fix: set app status in addon status directly
Signed-off-by: wangyike <wangyike_wyk@163.com >
* add e2e test
Signed-off-by: wangyike <wangyike_wyk@163.com >
2021-12-13 19:47:32 +08:00
qiaozp
53006b4137
Fix: move addon api to pkg/addon ( #2905 )
...
* move addon api to pkg/addon
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* reviewable
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* license
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* reviewable
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
2021-12-13 17:47:53 +08:00
barnettZQG
f47ae0e498
Feat: support automatically creating scaler trait for webservice component ( #2908 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2021-12-10 15:04:31 +08:00
qiaozp
94f32a317d
Feat: support addon definition in cue format ( #2896 )
...
* move def func to pkg
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* split def schema render
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* render CUE definition
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* add test
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* add test
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* fix test
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
2021-12-09 20:31:19 +08:00
barnettZQG
ad4b44696a
Feat: add the project api ( #2899 )
...
* Feat: add the project api
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: fix e2e test bug
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2021-12-08 19:08:35 +08:00
barnettZQG
1563c582bc
Feat: support additional properties parameter ( #2880 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2021-12-08 17:46:45 +08:00
Somefive
330c3e269c
Fix: kubeconfig tmp file security ( #2894 )
...
Signed-off-by: Yin Da <yd219913@alibaba-inc.com >
2021-12-08 09:12:07 +08:00
qiaozp
2947da2611
Fix: OSS read data race ( #2875 )
...
* Fix: read oss addon prefix bug
This bug is about list OSS bucket by prefix which will cause confusion between `terraform` and `terraform-alibaba`
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* add test
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* fix data race
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* fix channel block
add test
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* reviewable
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
2021-12-07 16:17:11 +08:00
wyike
99757814ab
Feat: algin addon cli and apiserver ( #2867 )
...
Feat: cli aligin with apiserver
Fix comments
Signed-off-by: wangyike <wangyike_wyk@163.com >
2021-12-07 15:11:52 +08:00
Tianxin Dong
56f300846c
Fix: fix sync from status version instead of anno ( #2870 )
...
* Fix: fix workflow sort
* fix sync from status
* fix lint
* fix apply
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix lint
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix ut
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2021-12-03 11:22:55 +08:00
qiaozp
95c2b8ce04
Fix: query addon status api 500 because of secret ( #2866 )
...
* Fix: query addon status api 500 because of secret
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* Fix: enable addon failed because the file name of the cue template is used as the component name
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* Fix: fix several oss read problem
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* fix lint
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* fix
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* use oss test endpoint
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* fix ut
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
2021-12-03 10:59:46 +08:00
Tianxin Dong
9b7286d6f5
Fix: fix workflow apserver sort and rollback status ( #2862 )
...
* Fix: fix workflow apiserver sort and rollback status
* fix ut
2021-12-02 20:04:53 +08:00
barnettZQG
27e1dd4a1b
Fix: cloud resource type applications could not be identified ( #2856 )
...
* Fix: cloud resource type applications could not be identified
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: the cloud app properties can not set empty region value
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2021-12-02 17:11:50 +08:00
Chwetion
59b458404e
Feat: add deleting phase for apiserver application status model ( #2854 )
...
Signed-off-by: chwetion <chwetion@foxmail.com >
Co-authored-by: chwetion <chwetion@foxmail.com >
2021-12-02 10:16:27 +08:00
qiaozp
a6ef0644ff
Feat: oss suppurt for addon ( #2848 )
...
* Add OSS source support for addon
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* add unit test for pkg/addon
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* fix lint
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
* add license
Signed-off-by: qiaozp <chivalry.pp@gmail.com >
2021-12-01 19:15:48 +08:00
Tianxin Dong
374c3cd3e0
Fix: reset record status when a new one is created ( #2846 )
...
* Fix: reset record status when a new one is created
* skip the new created one
2021-12-01 10:52:07 +08:00
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
Tianxin Dong
8dad1eadb4
Feat: add alias in list record api ( #2833 )
2021-11-30 19:04:42 +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
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
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
Tianxin Dong
bab241e969
Feat: add more logs in workflow sync ( #2806 )
2021-11-26 15:34:25 +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
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
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
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
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
qiaozp
1ea26865aa
Fix: lint apiserver code, fix panic ( #2755 )
...
* lint code
* fix error judge
try
* fix multicluster enable panic
* add err log
* fix can not get parameter
* debug
* try ci
* debug
* debug
* debug
* debugo
Co-authored-by: barnettZQG <576501057@qq.com >
2021-11-21 18:09:19 +08:00
朱晓兵
51b6e8b459
Fix: fix envbinding related workflow logic,add unit test ( #2758 )
...
* Fix: fix envbinding related workflow logic,add unit test
* Fix: bcode field
* Update envbinding.go
Co-authored-by: zhuxiaobing <zhuxiaobing@lixiang.com >
Co-authored-by: barnettZQG <576501057@qq.com >
2021-11-21 17:27:35 +08:00
barnettZQG
4799cbf6cc
Feat: workflow support update ( #2760 )
...
* Feat: workflow support update
* Fix: fix recycle bug
Co-authored-by: barnettZQG <yiyun.pro>
2021-11-21 16:43:10 +08:00
Tianxin Dong
32103f53fc
Feat: add list application records api ( #2757 )
...
* Feat: add list application records api
* remove workflow checker
* Update envbinding.go
Co-authored-by: barnettZQG <576501057@qq.com >
2021-11-21 10:45:03 +08:00
barnettZQG
8181b4d266
Fix: fix the envbinding can not be deleted bug ( #2756 )
...
* Fix: fix the envbinding can not be deleted bug
* Fix: fix target must be interface or implement error
Co-authored-by: barnettZQG <yiyun.pro>
2021-11-21 10:15:15 +08:00
barnettZQG
adcb7bd65e
Feat: support update component and query app statistics info ( #2746 )
...
* Feat: change swagger config
* Feat: support update component and query app statistics info
* Fix: fix workflow list bug
* Fix: fix test bug
* Fix: fix e2e test bug
* Feat: change workflow api
* Fix: fix app deploy e2e test bug
* Fix: change e2e test
* Fix: fix workflow bug
* Fix: fix deploy bug
* Fix: fix selector bug
* Feat: support recycle env
* Fix: debug e2e
* Fix: fix e2e case bug
Co-authored-by: barnettZQG <yiyun.pro>
2021-11-20 19:50:36 +08:00
Tianxin Dong
ff405cd62a
Feat: add workflow record actions ( #2733 )
...
* Feat: add application revision actions
* refactor workflow record and application revision
* generate doc
* fix rebase
* fix rebase
* delete comment
* fix comment
* delete suspend status
* use apply instead of update
* find latest comlete revision if the revision is not specified
* delete name
* fix primary key
2021-11-20 13:05:52 +08:00
qiaozp
54eb662959
Feat: add definitions to addon detail API, fix addon cache, async download files ( #2738 )
...
* add definition to addon detail API
* change little
* tmp
* fix cache
* fix import
2021-11-20 12:24:35 +08:00
Somefive
1a2c964dac
Fix: enhance cluster api ( #2742 )
2021-11-19 15:39:54 +08:00
朱晓兵
ffd25a4cbf
Feat: refactor envbinding for adapt policy placement ( #2731 )
...
* Feat: refactor envbinding for adapt policy placement
* Fix: refactor envbinding logic
* Fix: fix some bug
* Fix: fix unit test
* Fix: fix unit test
* Fix: fix unit test
* Fix: fix unit test
* Fix: fix unit test ...
* Fix: fix unit test
Co-authored-by: zhuxiaobing <zhuxiaobing@lixiang.com >
2021-11-19 10:37:40 +08:00
Hongchao Deng
b6a14e435b
Feat: EnableAddon supports runtime cluster ( #2739 )
...
* Feat: EnableAddon supports runtime cluster
If use runtime cluster mode, the definitions will be applied to control plane k8s directly, not included in the Application object.
* add owner
* comment
2021-11-18 17:32:14 +08:00
qiaozp
bade23cecf
Feat: add addon arguments API ( #2732 )
...
* temp
* test
* move to status
2021-11-18 12:24:01 +08:00
Tianxin Dong
2fc0f1cd2b
Feat: add app revision list and detail api ( #2722 )
...
* Feat: add app revision list and detail api
* add envName and status filter
* make swagger doc
* revert ui-schema
2021-11-17 15:29:36 +08:00