Commit Graph

109 Commits

Author SHA1 Message Date
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
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
OpenShift Merge Robot
3722e2b996 Merge pull request #165 from suigh/08301056
Report all res information to managedcluster status like cpu and memory
2021-09-08 22:04:25 -04:00
suigh
80b5f416e7 report all resources
Signed-off-by: suigh <suigh@cn.ibm.com>
2021-09-08 17:05:54 +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
huiwq1990
d9653368a2 fix spell
Signed-off-by: huiwq1990 <huiwq1990@163.com>
2021-08-11 12:05:18 +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
xuezhaojun
d0f6fb7c84 Fix issues in unit-test and e2e-test
Signed-off-by: xuezhaojun <zxue@redhat.com>
2021-06-21 11:09:26 +08:00
liuwei
2429fa3a19 keep compatibility with lease API
Signed-off-by: liuwei <liuweixa@redhat.com>
2021-06-18 05:03:24 +00:00
liuwei
b4ee95f2c6 update addon lease msg
Signed-off-by: liuwei <liuweixa@redhat.com>
2021-05-27 02:36:20 +00:00
Zhiwei Yin
e89b807966 expose clusterclaims by label customized-only
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2021-05-24 22:15:27 +08:00
liuwei
4cc16e3ef9 fix lease update event reason typo
Signed-off-by: liuwei <liuweixa@redhat.com>
2021-05-07 01:54:19 +00:00
liuwei
35a86574a7 merge managed cluster capacity status
Signed-off-by: liuwei <liuweixa@redhat.com>
2021-04-27 03:19:31 +00: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
Yang Le
5cde8b5021 add resync logic for addon
Signed-off-by: Yang Le <yangle@redhat.com>
2021-04-21 17:10:25 +08:00
Yang Le
63bc28fa1e include cluster name in name of client cert controller
Signed-off-by: Yang Le <yangle@redhat.com>
2021-04-19 13:35:30 +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
Yang Le
ad99b65e47 Support DNS names of client cert
Signed-off-by: Yang Le <yangle@redhat.com>
2021-04-13 21:02:01 +08: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
OpenShift Merge Robot
4fbce67b46 Merge pull request #128 from skeeey/addon-manager-lease
compatibility - manage addon lease
2021-04-09 00:52:02 -04:00
liuwei
b245eac0aa addon lease - compatibility
Signed-off-by: liuwei <liuweixa@redhat.com>
2021-04-09 02:11:51 +00:00
Yang Le
0d6abef9a0 Fix invalid client certificate issue
Signed-off-by: Yang Le <yangle@redhat.com>
2021-04-08 14:46:30 +08:00
liuwei
2b4c9f1abd addon manager lease
Signed-off-by: liuwei <liuweixa@redhat.com>
2021-04-06 05:40:58 +00:00
OpenShift Merge Robot
21c59fd18c Merge pull request #120 from elgnay/addon-registration
Refactor and make client cert controller reusable
2021-03-31 18:16:59 +02: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
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
5626eaa6cd using livez instead of readyz
Signed-off-by: liuwei <liuweixa@redhat.com>
2021-03-25 09:48:24 +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
b4097f91bc introducing ClusterClaim feature gate to opt-out from list-watching cluster-claims
Signed-off-by: yue9944882 <291271447@qq.com>
2021-03-01 12:47:21 +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
yue9944882
4bc194d791 namespaced secret list-watching
Signed-off-by: yue9944882 <291271447@qq.com>
2021-01-19 17:23:44 +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
liuwei
bb9f76595a check resource name for cluster accept
Signed-off-by: liuwei <liuweixa@redhat.com>
2020-12-17 21:06:01 +08:00
OpenShift Merge Robot
cb5438b24f Merge pull request #103 from skeeey/update-unknow-condition
update managed cluster unknown condition message
2020-12-11 03:01:46 -05:00
liuwei
dfb9db8f61 update managed cluster unknown condition message
Signed-off-by: liuwei <liuweixa@redhat.com>
2020-12-11 13:40:31 +08:00
Jian Qiu
efc2acdfb2 Use eventfilterinformer
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2020-12-09 14:15:21 +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
2a4b575ea8 Update comments for cluster claim controller
Signed-off-by: Yang Le <yangle@redhat.com>
2020-12-03 09:33:14 +08:00
OpenShift Merge Robot
f309670859 Merge pull request #97 from elgnay/clusterclaim
Add ClusterClaim controller
2020-12-02 00:08:24 +01:00
Yang Le
0d23f35e03 Add ClusterClaim controller
Signed-off-by: Yang Le <yangle@redhat.com>
2020-11-30 10:29:55 +08:00
liuwei
03b02f2cf2 increase qps and burst 2020-11-17 15:38:00 +08:00
liuwei
6986b0bbf3 add write access for hub kubeconfig file 2020-10-06 14:16:02 +08:00