Commit Graph

40 Commits

Author SHA1 Message Date
Yang Le
eb0daa24ac allow ManagedCluster creation with taint.timeAdded specified (#224)
Signed-off-by: Yang Le <yangle@redhat.com>
2022-04-06 08:22:53 -04:00
Min Kim
892a6ea782 V1beta1 CSR compatibility (#214)
* [generated] go mod tidy/vendor

Signed-off-by: yue9944882 <291271447@qq.com>

* feature-gate: V1beta1CSRAPICompatibility

Signed-off-by: yue9944882 <291271447@qq.com>
2022-03-23 04:41:00 +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
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
751c36b6f9 update library and refactor integration test (#189)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-01-06 03:48:36 +01:00
Min Kim
6331fe4629 Skipping customized health check (#187)
* skipping customized health check

Signed-off-by: yue9944882 <291271447@qq.com>

* bump ocm api dep

Signed-off-by: yue9944882 <291271447@qq.com>

* fixes integration test flakiness

Signed-off-by: yue9944882 <291271447@qq.com>
2021-12-30 13:18:10 +01:00
Jian Zhu
c849951f90 deploy control plane and agent in two clusters (#182)
* deploy control plane and agent in two clusters

Signed-off-by: zhujian <jiazhu@redhat.com>

* change the default spoke component namespace

Signed-off-by: zhujian <jiazhu@redhat.com>
2021-12-06 01:49:21 +00:00
Yang Le
d331716ed6 re-create addon client cert once bootstrap kubeconfig changes (#172)
Signed-off-by: Yang Le <yangle@redhat.com>
2021-12-02 04:28:35 +01:00
Wei Liu
7bb4b6864d exclude the cordoned nodes when calc node allocatable (#174)
Signed-off-by: liuwei <liuweixa@redhat.com>
2021-11-05 10:00:21 +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
Yang Le
6f8ca332f9 upgrade clusterset api
Signed-off-by: Yang Le <yangle@redhat.com>
2021-09-18 10:32:30 +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
Yang Le
0422969592 reset csr name only if csr sync failed or secret saved
Signed-off-by: Yang Le <yangle@redhat.com>
2021-04-22 16:46:36 +08:00
liuwei
a9f8c56a91 update addon enquque ns and addon update message
Signed-off-by: liuwei <liuweixa@redhat.com>
2021-04-14 08:24:22 +00:00
liuwei
7daeb081bc update addon api
Signed-off-by: liuwei <liuweixa@redhat.com>
2021-04-13 01:42:04 +00:00
Jian Qiu
1c73301a10 Upgrade csr to v1
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2021-04-09 14:58:22 +08:00
Yang Le
cf82b78059 Support addon registration
Signed-off-by: Yang Le <yangle@redhat.com>
2021-04-09 13:09:40 +08:00
Zhiwei Yin
f89bc00338 upgrade CRD to v1 and k8s lib to 1.20.0
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2021-04-08 15:11:23 +08:00
Yang Le
5b80d01b72 Refactor and make client cert controller reusable
Signed-off-by: Yang Le <yangle@redhat.com>
2021-03-31 13:45:18 +08: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
Yang Le
382594e4aa Refine the logic to get agent name
Signed-off-by: Yang Le <yangle@redhat.com>
2020-12-21 14:09:01 +08:00
Yang Le
dea3c48998 Replace flag cluster-claims-max with max-custom-cluster-claims
Signed-off-by: Yang Le <yangle@redhat.com>
2020-12-03 17:09:51 +08:00
Yang Le
0d23f35e03 Add ClusterClaim controller
Signed-off-by: Yang Le <yangle@redhat.com>
2020-11-30 10:29:55 +08:00
liuwei
f1007e3eac enhance agent recovery integration test 2020-09-27 18:26:50 +08:00
Yang Le
605e99100f Make ManagedClusterSet exclusive 2020-09-23 16:00:00 +08:00
liuwei
cc0823f8fb add secret controller to fix performace problem 2020-09-15 14:22:44 +08:00
Jian Qiu
8eee196e80 Adopt metav1 condition 2020-09-04 15:50:05 +08:00
Yang Le
74f73db584 Add controller for ManagedClusterSet 2020-08-26 15:03:38 +08:00
Jian Qiu
ad1d18368c clean manifestwork when cluster is deleted 2020-06-30 08:12:26 +08:00
liuwei
eb81c7fe3e implement spoke cluster available check 2020-06-10 14:16:01 +08:00
Jian Qiu
b7ea8a2eab Change spokecluster to managedcluster 2020-06-04 13:20:44 +08:00
liuwei
a09ef1620f add integration test cases 2020-05-19 16:46:27 +08:00
liuwei
70bcc1e1a6 prepare integration test 2020-05-01 15:07:41 +08:00
liuwei
6dc650cd53 prepare integration test 2020-05-01 15:03:13 +08:00
liuwei
6d1cb006ba prepare integration test 2020-04-30 18:32:20 +08:00