Tianxin Dong and GitHub
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 and GitHub
f5fc822a3e
Fix legacy resourcetracker not garbage collect while previousRT is empty or equals currentRT ( #2817 )
2021-11-26 17:48:17 +08:00
Somefive and GitHub
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 and GitHub
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 and GitHub
bab241e969
Feat: add more logs in workflow sync ( #2806 )
2021-11-26 15:34:25 +08:00
Zheng Xi Zhou and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
f1eef83809
Feat: add workflow name for frontend ( #2787 )
2021-11-24 20:18:27 +08:00
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 and GitHub
da251f1cb6
Fix: lookupByScript don't support import ( #2788 )
...
* fix lookupByScript
* fix lint
2021-11-24 19:57:54 +08:00
Zheng Xi Zhou and GitHub
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 and GitHub
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 and GitHub
3d2fcacb5a
Feat: built in gc policy to application ( #2575 )
2021-11-24 15:38:13 +08:00
yangsoon and GitHub
ec5e2b4660
Fix: clean up the view api ( #2779 )
2021-11-24 11:09:50 +08:00
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 and GitHub
2b8a89d9fa
Fix: get addon omit uiSchema ( #2768 )
2021-11-22 17:13:05 +08:00
qiaozp and GitHub
58293dcf20
Feat: check addon dependencies when enable ( #2741 )
2021-11-22 17:12:55 +08:00
Zheng Xi Zhou and GitHub
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 and GitHub
47a565d00d
Fix: controllerrevision can not be updated ( #2764 )
2021-11-22 10:58:23 +08:00
wyike and GitHub
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
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
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 and GitHub
99ffe80eb4
Feat: component-pod-view support filter resource by cluster name and cluster namespace ( #2754 )
2021-11-21 14:56:01 +08:00
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
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
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
d954bbac00
Fix: applied-resources overflow ( #2740 )
...
* fix applied-resources overflow
* add test cases
2021-11-18 20:04:21 +08:00
Hongchao Deng and GitHub
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 and GitHub
bade23cecf
Feat: add addon arguments API ( #2732 )
...
* temp
* test
* move to status
2021-11-18 12:24:01 +08:00
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