Commit Graph

77 Commits

Author SHA1 Message Date
Wei Liu
33525a94ff upgrade kube to 1.26 (#302)
Signed-off-by: Wei Liu <liuweixa@redhat.com>
2023-03-02 03:50:47 +01:00
Jian Qiu
177f916c06 use labels in api repo (#290)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-01-31 01:47:32 -05:00
Wei Liu
9bf732aab3 roll back code to support lower version k8s (#291)
Signed-off-by: Wei Liu <liuweixa@redhat.com>

Signed-off-by: Wei Liu <liuweixa@redhat.com>
2022-12-15 10:54:37 -05:00
Wei Liu
923cd19f37 using requeue cluster instead of resync lease controller (#288)
Signed-off-by: Wei Liu <liuweixa@redhat.com>

Signed-off-by: Wei Liu <liuweixa@redhat.com>
2022-12-08 01:54:10 -05:00
DangPeng Liu
4d8c5c5995 upgrade clusterset api to v1beta2 (#273)
Signed-off-by: ldpliu <daliu@redhat.com>

Signed-off-by: ldpliu <daliu@redhat.com>
2022-11-17 08:10:06 +00:00
Wei Liu
b391219017 remove the support for checking add-on hub lease (#275)
Signed-off-by: Wei Liu <liuweixa@redhat.com>

Signed-off-by: Wei Liu <liuweixa@redhat.com>
2022-10-19 03:07:23 -04:00
Wei Liu
fd7eb39cbd stop to discovery addon when its managed cluster is not found (#274)
Signed-off-by: Wei Liu <liuweixa@redhat.com>

Signed-off-by: Wei Liu <liuweixa@redhat.com>
2022-10-18 10:00:49 -04:00
Zhiwei Yin
b43a54935f reduce log print (#269)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>

Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2022-08-31 03:53:04 -04:00
Bowen Zhu
077793fb37 Add V1beta1CSRAPICompatibility feature gate for registration-controller (#259)
* Add V1beta1CSRAPICompatibility feature gate for registration-controller

Signed-off-by: Promacanthus <promacanthus@gmail.com>

* Add csrInfo and update isSpokeClusterClientCertRenewal

Signed-off-by: Promacanthus <promacanthus@gmail.com>

* Rerun go mod vendor

Signed-off-by: Promacanthus <promacanthus@gmail.com>

* Register V1beta1CSRAPICompatibility and refacotr authorize function

Signed-off-by: Promacanthus <promacanthus@gmail.com>

* Update api dependency

Signed-off-by: Promacanthus <promacanthus@gmail.com>
2022-07-07 02:12:32 +00:00
ivanscai
364bce97ef use registration feature gates constants & variabels which in api repo (#253)
Signed-off-by: ivan-cai <caijing.cai@alibaba-inc.com>

Co-authored-by: ivan-cai <caijing.cai@alibaba-inc.com>
2022-06-09 10:28:52 -04:00
DangPeng Liu
5b9b4a2c08 add global clusterset (#251)
Signed-off-by: ldpliu <daliu@redhat.com>
2022-06-09 02:46:14 -04:00
DangPeng Liu
dd2c3fdf19 adapt label selector in clusterset (#242)
Signed-off-by: ldpliu <daliu@redhat.com>
2022-06-06 02:46:02 -04:00
DangPeng Liu
215429b94c remove add default set label controller (#250)
Signed-off-by: ldpliu <daliu@redhat.com>
2022-06-05 23:30:00 -04:00
Jian Qiu
fd33e20727 Update binding status (#248)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-05-31 04:43:26 -04:00
Jian Qiu
b849d2c838 Patch status and finalizers (#244)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-05-12 03:24:40 -04:00
Jian Qiu
186bbcabd8 Add lint check in make verify (#243)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-05-09 03:00:29 -04:00
Yang Le
a243379343 fix clusterset sync issue (#234)
Signed-off-by: Yang Le <yangle@redhat.com>
2022-04-14 06:38:54 -04:00
Wei Liu
12bef6bb91 reduce the get request for managed cluster when checking managed cluster lease status (#226)
Signed-off-by: Wei Liu <liuweixa@redhat.com>
2022-04-07 02:13:34 -04:00
Min Kim
a86fa506c9 chore: suppressing log verbosity for test log clarity (#216)
Signed-off-by: yue9944882 <291271447@qq.com>
2022-03-22 10:59:32 +01:00
Yuchen YAO
0ce5210162 add disable annotation detection for default managed cluster set, ensuring users have property to modify default managed cluster set spec. (#210)
Signed-off-by: ycyaoxdu <yaoyuchen0626@163.com>
2022-03-10 22:22:16 -05:00
Yuchen YAO
9d006722d8 add a controller to set default clusterset label for managedcluster which not set clusterset label (#202)
Signed-off-by: ycyaoxdu <yaoyuchen0626@163.com>
2022-03-02 22:20:32 -05:00
Yang Le
62e8879e5b update clusterset contoller to ignore non-legacy clusterset (#206)
Signed-off-by: Yang Le <yangle@redhat.com>
2022-03-02 05:38:24 -05:00
Yuchen YAO
92178adbec add-default-managedclusterset-controller (#198)
Signed-off-by: ycyaoxdu <yaoyuchen0626@163.com>
2022-03-02 02:50:22 -05:00
Jian Qiu
f3b18aa211 Add hub freature flags (#204)
Also fix some lint issue

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-03-01 01:51:17 -05:00
JiaHao Wei
acf2ee2cfc add taints controller (#188)
Signed-off-by: JiaHao Wei <1335649406@qq.com>
2022-01-26 00:38:40 -05:00
Jian Qiu
3d5b61375f Update cache implementation and remove logic for rbac update (#192)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-01-17 06:35:16 +01:00
Jian Qiu
751c36b6f9 update library and refactor integration test (#189)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-01-06 03:48:36 +01:00
champly
3afdcac894 fix lease interval value set (#184)
* fix lease interval value set

Signed-off-by: champly <champly@outlook.com>

* remove managedcluster leasedurationsecondes value set

Signed-off-by: champly <champly@outlook.com>
2021-12-09 02:36:16 +00:00
Wei Liu
50b92cd060 avoid recreate lease when cluster is deleting and remove old code (#181)
Signed-off-by: Wei Liu <liuweixa@redhat.com>
2021-11-29 10:22:18 +01:00
Jian Qiu
53b1c343cc Replace bindata with embed (#180)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2021-11-23 10:59:40 +01:00
Yang Le
5ea8794d68 sync the original clusterset firstly (#171)
Signed-off-by: Yang Le <yangle@redhat.com>
2021-10-11 10:46:47 +02:00
liuwei
723811561a trigger a new build
Signed-off-by: liuwei <liuweixa@redhat.com>
2021-09-24 09:19:59 +00:00
Yang Le
6f8ca332f9 upgrade clusterset api
Signed-off-by: Yang Le <yangle@redhat.com>
2021-09-18 10:32:30 +08:00
Jian Qiu
d16a89cd6c Use embedfs to replace bindata
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2021-09-08 11:58:56 +08:00
Yang Le
953dfb325d Add controller to generate addon label on cluster
Signed-off-by: Yang Le <yangle@redhat.com>
2021-08-26 11:05:30 +08:00
Jian Qiu
f3ea6c5d99 update deps and enable action
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2021-06-22 13:15:34 +08:00
Jian Qiu
1c73301a10 Upgrade csr to v1
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2021-04-09 14:58:22 +08:00
liuwei
b245eac0aa addon lease - compatibility
Signed-off-by: liuwei <liuweixa@redhat.com>
2021-04-09 02:11:51 +00:00
liuwei
2b4c9f1abd addon manager lease
Signed-off-by: liuwei <liuweixa@redhat.com>
2021-04-06 05:40:58 +00:00
liuwei
e60ca0e385 using double quote to encapsulate cluster name
Signed-off-by: liuwei <liuweixa@redhat.com>
2021-03-31 07:23:32 +00:00
liuwei
2006c4ed4b update rolebinding name
Signed-off-by: liuwei <liuweixa@redhat.com>
2021-03-11 13:56:03 +08:00
liuwei
cc4f6687b6 using clusterrole instead of role
Signed-off-by: liuwei <liuweixa@redhat.com>
2021-03-10 17:22:03 +08:00
yue9944882
842d4bb15e addressing review comments
Signed-off-by: yue9944882 <291271447@qq.com>
2021-01-27 20:38:51 +08:00
yue9944882
a13f3780cd defing a common user-group to match all spoke-clusters
Signed-off-by: yue9944882 <291271447@qq.com>
2021-01-26 19:29:42 +08:00
Yang Le
1649df933e se Lister to reduce the number of calls to api server
Signed-off-by: Yang Le <yangle@redhat.com>
2021-01-21 21:57:17 +08:00
liuwei
dfb9db8f61 update managed cluster unknown condition message
Signed-off-by: liuwei <liuweixa@redhat.com>
2020-12-11 13:40:31 +08:00
liuwei
03b02f2cf2 increase qps and burst 2020-11-17 15:38:00 +08:00
OpenShift Merge Robot
515483ab47 Merge pull request #79 from elgnay/clusterset-exclusive
Make ManagedClusterSet exclusive
2020-09-23 09:08:04 +00:00
Yang Le
605e99100f Make ManagedClusterSet exclusive 2020-09-23 16:00:00 +08:00
liuwei
3584194d16 rollback LeaseDurationSeconds code for backward compatible 2020-09-22 13:44:19 +08:00