Jian Zhu
5e11092b0e
update changelog 0.9.1 ( #295 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
Signed-off-by: zhujian <jiazhu@redhat.com >
2022-10-31 00:06:51 -04:00
Jian Zhu
3f119fdefe
Fix the paradox description of the klusterlet condition ( #290 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
Signed-off-by: zhujian <jiazhu@redhat.com >
2022-10-30 22:10:14 -04:00
Zhiwei Yin
b963a76b85
bump to 0.10.0 ( #291 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2022-10-28 09:59:44 -04:00
DangPeng Liu
7e12d497ff
upgrade go to 1.19 ( #286 )
...
Signed-off-by: ldpliu <daliu@redhat.com >
Signed-off-by: ldpliu <daliu@redhat.com >
2022-10-27 01:51:40 -04:00
Wei Liu
29011c8e17
correct managed cluster lease name ( #287 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2022-10-26 23:16:09 -04:00
Zhiwei Yin
919dae608d
add changelog 0.9 ( #285 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2022-10-19 08:13:05 -04:00
DangPeng Liu
820d5b0149
fix conversion webhook in hosted mode ( #280 )
...
Signed-off-by: ldpliu <daliu@redhat.com >
Signed-off-by: ldpliu <daliu@redhat.com >
2022-10-19 02:17:03 -04:00
Jian Qiu
fbbb5d9f48
Fix token path in hosted mode ( #284 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-10-18 02:54:08 -04:00
Jian Zhu
432fac3616
Remove install mode detached ( #282 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
Signed-off-by: zhujian <jiazhu@redhat.com >
2022-10-17 05:43:34 -04:00
Qing Hao
8745a76e6b
remove clusterrole/role cleanBeforeApply code added in ocm 0.8.0 ( #283 )
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
Signed-off-by: haoqing0110 <qhao@redhat.com >
2022-10-17 02:54:33 -04:00
Qing Hao
57463accd5
update clusterrole in olm-catalog ( #281 )
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
Signed-off-by: haoqing0110 <qhao@redhat.com >
2022-10-16 23:25:46 -04:00
DangPeng Liu
6bf6df2f2c
add conversion webhook ( #279 )
...
Signed-off-by: ldpliu <daliu@redhat.com >
Signed-off-by: ldpliu <daliu@redhat.com >
2022-10-14 00:19:30 -04:00
Qing Hao
eb6105dd08
remove API Placement PlacementDecision ClusterSet ClusterSetBinding API version v1alpha1 ( #278 )
...
* remove API Placement PlacementDecision ClusterSet ClusterSetBinding API version v1alpha1
Signed-off-by: haoqing0110 <qhao@redhat.com >
* check migration status before update CRD stored version
Signed-off-by: haoqing0110 <qhao@redhat.com >
Signed-off-by: haoqing0110 <qhao@redhat.com >
2022-10-10 11:26:59 +02:00
Jian Qiu
79c6b55fae
Fix: delete addon crd at first ( #277 )
...
This is to ensure manifestwork of addon is deleted at first.
Signed-off-by: Jian Qiu <jqiu@redhat.com >
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-09-28 04:05:36 +02:00
Jian Zhu
0944f98904
Make work webhook feature gate configurable ( #276 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
Signed-off-by: zhujian <jiazhu@redhat.com >
2022-09-23 08:47:08 +02:00
Jian Zhu
e1bf8191f3
Allow work agent to impersonate serviceaccount ( #275 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
Signed-off-by: zhujian <jiazhu@redhat.com >
2022-09-21 02:59:55 +02:00
Jian Zhu
3d0b5cd219
Allow work agent to create subjectaccessreviews ( #273 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
Signed-off-by: zhujian <jiazhu@redhat.com >
2022-09-15 03:16:53 +02:00
ivanscai
ca32de775b
add skip-remove-crds option for cluster-manager, to choose if skip removing CRDs when ClusterManager is deleting ( #274 )
...
Signed-off-by: ivan-cai <caijing.cai@alibaba-inc.com >
Signed-off-by: ivan-cai <caijing.cai@alibaba-inc.com >
2022-09-13 17:40:13 +02:00
Wei Liu
0f5141c5fc
update add-on configuration apis ( #272 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2022-09-09 07:52:55 +02:00
Matt Prahl
4306b7849a
Use the correct managed cluster name in the apply-spoke-cr-hosted target ( #266 )
...
Signed-off-by: mprahl <mprahl@users.noreply.github.com >
Signed-off-by: mprahl <mprahl@users.noreply.github.com >
2022-08-30 09:41:05 -04:00
Jian Qiu
b004bcc614
Apply only when having finalizer ( #270 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-08-22 10:06:14 -04:00
Jian Zhu
59b5e56fd3
Refactor to split two controllers to handle klusterlet deployment and cleanup ( #269 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
Signed-off-by: zhujian <jiazhu@redhat.com >
2022-08-18 03:31:13 +00:00
Zhiwei Yin
b14e41788a
upgrade go lib to the latest version and bump csv to 0.9.0 ( #265 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2022-07-26 02:42:46 +02:00
Matt Prahl
291f465601
Allow OCM addons to setup metrics collection with Prometheus ( #262 )
...
Related:
https://github.com/stolostron/backlog/issues/23547
Signed-off-by: mprahl <mprahl@users.noreply.github.com >
2022-07-12 13:54:11 +00:00
Jian Qiu
c1fb03baf1
Fix release yaml ( #263 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-07-12 04:26:21 +00:00
Zhiwei Yin
6c64bc33ca
add changelog v0.8 ( #261 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2022-07-11 07:02:20 +00:00
Bowen Zhu
79d280ad8a
Add HubApiServerHostAlias for registration-agent and work-agent ( #258 )
...
Signed-off-by: Bowen Zhu <Promacanthus@gmail.com >
Add HubApiServerHostAlias for registration-agent and work-agent
2022-07-11 04:17:01 +00:00
xuezhaojun
de7ab7ad24
Add controller to sync image pull secret into addon namespaces. ( #253 )
...
* add addon-controller
Signed-off-by: xuezhaojun <zxue@redhat.com >
* fix and add testcases
Signed-off-by: xuezhaojun <zxue@redhat.com >
* add test cases
Signed-off-by: xuezhaojun <zxue@redhat.com >
* add permission and change constant name
Signed-off-by: xuezhaojun <zxue@redhat.com >
* change permission
Signed-off-by: xuezhaojun <zxue@redhat.com >
* fix
Signed-off-by: xuezhaojun <zxue@redhat.com >
* add permission into addon-management clusterrole
Signed-off-by: xuezhaojun <zxue@redhat.com >
* split permission part into another PR
Signed-off-by: xuezhaojun <zxue@redhat.com >
* split permission part into another PR
Signed-off-by: xuezhaojun <zxue@redhat.com >
* split permission part into another PR
Signed-off-by: xuezhaojun <zxue@redhat.com >
* change annotation to labels
Signed-off-by: xuezhaojun <zxue@redhat.com >
* rename the pkg name
Signed-off-by: xuezhaojun <zxue@redhat.com >
* rename the pkg name
Signed-off-by: xuezhaojun <zxue@redhat.com >
* Add comments to explain why we keep sync secret in klusterlet-controller
Signed-off-by: xuezhaojun <zxue@redhat.com >
2022-07-08 01:28:14 +00:00
Jian Qiu
a7dd402db8
Use token request to sync sa ( #259 )
...
* Use token request to sync sa
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Upgrade kind
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-07-06 06:09:10 +00:00
Jian Zhu
4b1061dda0
add permisson for registration agent for running addon in hosted mode ( #256 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2022-07-05 08:20:14 +00:00
Qing Hao
5ffe3b8a8b
leader election needs to operate configmaps and leases ( #260 )
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
2022-07-05 06:44:35 +00:00
Qing Hao
855199ea43
clean resource before apply new ( #257 )
...
* clean resource before apply new
Signed-off-by: haoqing0110 <qhao@redhat.com >
* update
Signed-off-by: haoqing0110 <qhao@redhat.com >
2022-07-01 04:59:48 +00:00
Yang Le
91bc2dc7c7
keep appliedmanifestwork & clusterclaim CRDs when unstalling klusterlet ( #255 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2022-06-29 08:52:44 +00:00
Qing Hao
803bfb3748
split work permissions ( #252 )
...
* split work permissions
Signed-off-by: haoqing0110 <qhao@redhat.com >
* add more comments
Signed-off-by: haoqing0110 <qhao@redhat.com >
2022-06-28 02:31:44 +00:00
Qing Hao
54452f060a
split registration permissions ( #250 )
...
* split registration permissions
Signed-off-by: haoqing0110 <qhao@redhat.com >
* more comments
Signed-off-by: haoqing0110 <qhao@redhat.com >
2022-06-27 08:13:31 +00:00
ivanscai
3401c8e4bd
support hubRegistrationFeatureGates and spokeRegistrationFeatureGates ( #230 )
...
* support RegistrationFeatureGates in ClusterManager and Klusterlet
Signed-off-by: ivan-cai <caijing.cai@alibaba-inc.com >
* update to use DefaultHubRegistrationFeatureGates&DefaultSpokeRegistrationFeatureGates in api repo to check registration variable if valid
Signed-off-by: ivan-cai <caijing.cai@alibaba-inc.com >
* enable addonmanagement and defaultClusterset feature if RegistrationConfiguration is nil
Signed-off-by: ivan-cai <caijing.cai@alibaba-inc.com >
* fix some errors in unit test
Signed-off-by: ivan-cai <caijing.cai@alibaba-inc.com >
* add RegistrationFeatureGates to registration webhook
Signed-off-by: ivan-cai <caijing.cai@alibaba-inc.com >
Co-authored-by: caijing.cai <caijing.cai@alibaba-inc.com >
2022-06-22 06:47:06 +00:00
Wei Liu
a6bb10cb90
enable log flags ( #249 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2022-06-15 16:18:19 +00:00
DangPeng Liu
9304a9cfab
remove set join permission for registration-controller ( #248 )
...
Signed-off-by: ldpliu <daliu@redhat.com >
2022-06-06 02:14:16 -04:00
Jian Qiu
5655fce48e
Upgrade library and api ( #247 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-05-30 04:08:58 -04:00
Jian Qiu
7f9988252c
Upgrade golang to 1.18 ( #246 )
...
Also upgrade api library
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-05-25 02:07:41 -04:00
Lei P
4f8ca8c6e3
Update file name to reflect the change in Makefile ( #245 )
...
Signed-off-by: Lei Pan <leipan@ibm.com >
2022-05-13 06:57:33 +00:00
xuezhaojun
11efeb18b5
Add goci lint. ( #243 )
...
* Add goci lint.
Signed-off-by: xuezhaojun <zxue@redhat.com >
* handle errs and remove unused.
Signed-off-by: xuezhaojun <zxue@redhat.com >
* fix fail and remove unused code.
Signed-off-by: xuezhaojun <zxue@redhat.com >
2022-05-10 02:50:42 -04:00
DangPeng Liu
25373ddab3
use new clusterset api ( #242 )
...
Signed-off-by: ldpliu <daliu@redhat.com >
2022-05-08 21:46:26 -04:00
DangPeng Liu
8503c1bd13
add all clusterset join permission ( #241 )
...
Signed-off-by: ldpliu <daliu@redhat.com >
2022-04-28 02:43:16 -04:00
Min Kim
0637aee32b
Multi-arch support ( #240 )
...
* multi-arch support
Signed-off-by: yue9944882 <291271447@qq.com >
* refactor github workflow to support multi-arch build
Signed-off-by: yue9944882 <291271447@qq.com >
2022-04-27 02:38:01 -04:00
Min Kim
796062f0c5
passing IMAGE_TAG to make images ( #239 )
...
Signed-off-by: yue9944882 <291271447@qq.com >
2022-04-26 23:33:46 -04:00
Min Kim
d3034fb338
chore: prune unused dockerfile cmd ( #238 )
...
Signed-off-by: yue9944882 <291271447@qq.com >
2022-04-26 05:56:46 -04:00
Yang Le
9f709acc2d
Update golang builder in Dockerfile ( #237 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2022-04-25 04:04:06 -04:00
Yang Le
2d5ab901d9
add join permission on default clusterset ( #236 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2022-04-15 06:20:19 -04:00
Yang Le
c93f5cefd2
add missing permission on kube v1.11.0 ( #234 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2022-04-08 06:48:17 -04:00