Commit Graph

55 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
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
openshift-ci[bot]
a61896395f Merge pull request #158 from zhujian7/test-clean
test: clean up remains of the e2e tests
2021-08-12 01:31:47 +00:00
zhujian7
c74d1b9521 test: address flaky e2e test
When exec the e2e tests on an environment a claim crd exists,
the lookback test may failed by 'object is being deleted:
customresourcedefinitions.apiextensions.k8s.io
"clusterclaims.cluster.open-cluster-management.io" already exists'

Signed-off-by: zhujian7 <zjfqxa@gmail.com>
2021-08-10 08:48:08 +08:00
zhujian7
44ae449697 test: clean up remains of the e2e tests
Signed-off-by: zhujian7 <zjfqxa@gmail.com>
2021-08-10 08:25:15 +08:00
zhujian7
b31f842424 change demo cluster name to cluster1
Signed-off-by: zhujian7 <zjfqxa@gmail.com>
2021-08-03 10:15:20 +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
Zhiwei Yin
1a8ebccf52 update crds
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2021-06-09 20:00:35 +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
Zhiwei Yin
54160128dd run as non-root
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2021-04-16 15:11:35 +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
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
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
liuwei
2b4c9f1abd addon manager lease
Signed-off-by: liuwei <liuweixa@redhat.com>
2021-04-06 05:40:58 +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
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
liuwei
bb9f76595a check resource name for cluster accept
Signed-off-by: liuwei <liuweixa@redhat.com>
2020-12-17 21:06: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
ef4c17017d Add validating webhook for ManagedClusterSetBinding 2020-08-27 12:11:18 +08:00
Yang Le
74f73db584 Add controller for ManagedClusterSet 2020-08-26 15:03:38 +08:00
liuwei
973eb321ee add mutating webhook 2020-07-28 17:29:50 +08:00
liuwei
556ef10019 using specific role instead of cluster admin 2020-07-08 13:19:45 +08:00
Jian Qiu
ad1d18368c clean manifestwork when cluster is deleted 2020-06-30 08:12:26 +08:00
ZhiweiYin
0a74648f0f fix fails when retry on conflict 2020-06-18 10:50:18 +08:00
liuwei
c87bf16c98 add heartbeat e2e test case 2020-06-16 11:32:29 +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
77fbb76450 add webhook e2e test cases 2020-06-02 16:53:34 +08:00
Paul Morie
14ca447216 Fix wiring image built in CI to e2e test 2020-05-28 13:17:52 -04:00
OpenShift Merge Robot
d570bfedbd Merge pull request #19 from skeeey/adding-integration-test
add integration test cases
2020-05-21 21:26:25 +02:00
liuwei
cffcbd7691 add spokecluster admission hook 2020-05-20 13:45:40 +08:00
liuwei
a09ef1620f add integration test cases 2020-05-19 16:46:27 +08:00