Yin Da
dd67fa976e
Fix: healthscope failed since appRevision is not set && rollout controller amend appRevision to workload since compRev does not have this one
2021-11-26 15:15:52 +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
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
yangsoon
99ffe80eb4
Feat: component-pod-view support filter resource by cluster name and cluster namespace ( #2754 )
2021-11-21 14:56:01 +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
Somefive
34aa74ff48
Feat: envbinding support cloud resource deploy and share ( #2734 )
...
* Feat: envbinding support cloud resource deploy and bind
* Fix: change bind-cloud-resource to share-cloud-resource
2021-11-20 13:07:27 +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
Jian.Li
d954bbac00
Fix: applied-resources overflow ( #2740 )
...
* fix applied-resources overflow
* add test cases
2021-11-18 20:04:21 +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
yangsoon
530f158795
Feat: velaql support query the resources created by helmrelease ( #2726 )
...
Co-authored-by: yangsoon <songyang.song@alibaba-inc.com >
2021-11-18 11:53:38 +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
Somefive
ba4a28fa0d
Feat: cherry-pick #2720 into apiserver: support list runtime cluster ( #2730 )
...
* Feat: support list runtime cluster (#2720 )
* Fix: style
2021-11-17 15:12:06 +08:00
wyike
0555623b3e
Feat: add triat alias description time ( #2727 )
...
* Feat: add triat alias description time
* Fix: remove modle
2021-11-17 13:06:30 +08:00
Somefive
55070033eb
Feat: support list runtime cluster ( #2720 )
2021-11-17 09:45:03 +08:00