Commit Graph

63 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Yang Le
0d23f35e03 Add ClusterClaim controller
Signed-off-by: Yang Le <yangle@redhat.com>
2020-11-30 10:29:55 +08:00
liuwei
6986b0bbf3 add write access for hub kubeconfig file 2020-10-06 14:16:02 +08:00
liuwei
a698532361 resync hub secret 2020-10-01 00:13:03 +08:00
liuwei
4f0bf3487a using get instead of list cache 2020-09-27 10:25:09 +08:00
liuwei
cf83b2e233 fix code static scan problem 2020-09-24 15:03:31 +08:00
liuwei
3584194d16 rollback LeaseDurationSeconds code for backward compatible 2020-09-22 13:44:19 +08:00
liuwei
c1977526e0 rollback init clusername and agentname in secret 2020-09-16 10:29:43 +08:00
liuwei
cc0823f8fb add secret controller to fix performace problem 2020-09-15 14:22:44 +08:00
OpenShift Merge Robot
e8bef5622e Merge pull request #71 from skeeey/code_scan
fix code scan issue
2020-09-10 04:16:35 -04:00
liuwei
a01b1783be fix code scan issue 2020-09-10 15:01:01 +08:00
Jian Qiu
8eee196e80 Adopt metav1 condition 2020-09-04 15:50:05 +08:00
liuwei
973eb321ee add mutating webhook 2020-07-28 17:29:50 +08:00
liuwei
13bcbc7396 reorganize ut common functions and improve test coverage 2020-07-13 11:39:25 +08:00
liuwei
dcc1b27a14 try healthz api 2020-07-03 15:48:32 +08:00
liuwei
93375a2577 try healthz api 2020-07-01 16:37:29 +08:00
Jian Qiu
ad1d18368c clean manifestwork when cluster is deleted 2020-06-30 08:12:26 +08:00
liuwei
dc1157baac resovle the remain comments in pr40 2020-06-11 13:08:44 +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
66b600c9a7 add field selector for shared informer factory 2020-05-14 10:30:33 +08:00
liuwei
ecfd72cf70 rewrite spoke cluster creating process 2020-05-02 22:44:51 +08:00
liuwei
77c646b9a1 rewrite spoke cluster creating process 2020-05-02 17:44:22 +08:00
liuwei
bb85ce25a3 rewrite spoke cluster creating process 2020-05-01 19:50:38 +08:00
liuwei
6584baa5ab rewrite spoke cluster creating process 2020-04-30 14:37:59 +08:00
liuwei
04192b6eb3 resolve comments 2020-04-29 23:15:06 +08:00
liuwei
2e3e5b0908 resolve comments 2020-04-29 21:16:06 +08:00
liuwei
1f334864eb resolve comments on pr 11 and 8 2020-04-29 20:52:57 +08:00
OpenShift Merge Robot
abd503efdd Merge pull request #11 from skeeey/agent-spokecluster
spoke agent spoke cluster controller
2020-04-27 22:48:33 +02:00