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
Wei Liu
d501691f1b
add lease permissions for library-go update ( #233 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2022-04-08 01:28:21 -04:00
Yang Le
fb61c5d97b
set replica to 1 if kube version < v1.14 ( #232 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2022-04-01 22:04:07 -04:00
Qing Hao
51b9c703f4
add permission for leases.coordination.k8s.io ( #231 )
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
2022-04-01 21:24:05 -04:00
Zhiwei Yin
dac47a160a
upgrade lib ( #228 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2022-03-31 10:50:11 -04:00
Jian Qiu
812b48298a
Add lease permission for leader election ( #229 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-03-30 12:16:22 -04:00
Yang Le
ebf48bc123
support Klusterlet.Spec.Namespace in hosted mode ( #227 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2022-03-30 05:20:13 -04:00
Zhiwei Yin
dafd1b5c47
bump csv to 0.8.0 ( #226 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2022-03-28 12:35:49 +02:00
Zhiwei Yin
af313bb01c
add changelog for v0.7.0 ( #224 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2022-03-24 05:59:04 +01:00
Zhiwei Yin
fd1ee4950b
avoid building latest image in relase branch ( #223 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2022-03-23 10:50:32 +01:00
Jian Qiu
7ecf9754aa
Disable apf in webhook ( #222 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-03-23 10:46:20 +01:00
Jian Qiu
a45f8bcc4b
Add disable-leader-election flag ( #221 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-03-22 07:19:22 +01:00
xuezhaojun
7aa41cda65
Add hosted mode in klusterlet ( #220 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2022-03-15 05:03:53 -04:00
xuezhaojun
84e12c9197
Change to hosted mode in cluster-manager ( #219 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2022-03-15 01:11:52 -04:00
Jian Qiu
db866a5891
Upgrade api and library ( #217 )
...
* Upgrade api and library
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* update permission for operator
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-03-14 22:23:53 -04:00
Jian Zhu
78f2de10b1
Add finalizer before creating clients ( #216 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2022-03-14 10:32:29 -04:00
Jian Zhu
4389af9344
Reduce resource request ( #218 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2022-03-14 09:08:17 -04:00
Zhiwei Yin
30c516b485
fix typo ( #214 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2022-03-14 03:04:16 -04:00
Zhiwei Yin
a67f11c21e
only set work-agent replica 0 when hub-kubeconfig-secret is missing ( #213 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2022-03-10 05:40:06 -05:00
DangPeng Liu
bb76f8cb7c
trigger new build ( #212 )
...
Signed-off-by: ldpliu <daliu@redhat.com >
2022-03-08 22:54:07 -05:00
Dale Haiducek
cb5edd0222
Allow clusterName to be configurable ( #211 )
...
Signed-off-by: Dale Haiducek <dhaiduce@redhat.com >
2022-03-03 18:48:52 -05:00
DangPeng Liu
55bc274d79
enable feature gate for registration webhook ( #210 )
...
Signed-off-by: ldpliu <daliu@redhat.com >
2022-03-03 03:47:22 -05:00
Yuchen YAO
c1b1067f54
enable DefaultClusterSet feature gate ( #209 )
...
Signed-off-by: ycyaoxdu <yaoyuchen0626@163.com >
2022-03-02 09:14:26 -05:00
DangPeng Liu
66e65a2fb7
upgrade clusterset api ( #208 )
...
Signed-off-by: ldpliu <daliu@redhat.com >
2022-03-02 01:10:41 -05:00
xuezhaojun
00fcdcd30a
add detached mode to cluster-manager controller ( #190 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2022-02-24 07:57:40 -05:00