xuezhaojun
00fcdcd30a
add detached mode to cluster-manager controller ( #190 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2022-02-24 07:57:40 -05:00
Jian Zhu
71fcc78d5f
Make the klusterlet install mode optional ( #207 )
...
* Make the klusterlet install mode optional
- Update cluster manager and klusterlet api
- Make the klusterlet install mode optional
- Add e2e test to ensure the backward compatibility
Signed-off-by: zhujian <jiazhu@redhat.com >
* Update vendor for the open cluster management api
Signed-off-by: zhujian <jiazhu@redhat.com >
2022-02-23 22:15:29 -05:00
xuezhaojun
c369b40475
Add ApplyEndpoints in helper ( #206 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2022-02-23 21:17:31 -05:00
Jian Qiu
b14296345d
fix default mode ( #204 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-02-21 03:03:32 -05:00
Jian Qiu
61c96873b3
Refactor on connecton check in klusterlet ( #202 )
...
1. Update observerved generation
2. Code update to clear the logic
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-02-14 02:50:36 -05:00
Jian Qiu
d67b0fb905
Fix wrong replica in condition message ( #201 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-02-08 21:49:11 -05:00
xuezhaojun
e697e47989
fixed can't get sa token secret when secret name is long ( #197 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2022-01-28 02:24:01 -05:00
Qing Hao
2c2316fafa
update placement and placementdecision to v1beta1 ( #198 )
...
* update placement and placementdecision to v1beta1
Signed-off-by: haoqing0110 <qhao@redhat.com >
* add placement and placementdecision StorageVersionMigration
Signed-off-by: haoqing0110 <qhao@redhat.com >
2022-01-27 09:06:51 -05:00
Jian Qiu
156867faf5
Disable leader election when replica is 1 ( #193 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-01-18 04:50:05 -05:00
Zhiwei Yin
6814943229
scale up the work agent deployment after the hub-kuebeconfig-secret is created ( #184 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2022-01-18 01:36:05 -05:00
xuezhaojun
e20d45af59
add nil check for nil clients ( #191 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2022-01-14 12:14:17 +01:00
xuezhaojun
bdb3f3f37a
add detached mode to migration controller ( #188 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2022-01-14 08:17:58 +01:00
xuezhaojun
b181f4d6dd
remove unused field in clustermanager controller ( #189 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2022-01-14 02:33:23 +01:00
Qing Hao
50f1e8410a
add addonplacementscore ( #187 )
...
* add addonplacementscore
Signed-off-by: haoqing0110 <qhao@redhat.com >
* remove addonplacementscore on spoke
Signed-off-by: haoqing0110 <qhao@redhat.com >
2022-01-11 10:55:09 +01:00
Min Kim
00c6bb1d89
adding an option that skips placeholder hub secret ( #185 )
...
Signed-off-by: yue9944882 <291271447@qq.com >
2022-01-10 14:34:50 +01:00
Zhiwei Yin
f7ff0557df
get the namespace of klusterlet from helper ( #181 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2022-01-10 07:42:50 +01:00
xuezhaojun
7b1f044875
support customize cluster manager namespace ( #179 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2022-01-06 13:50:37 +01:00
Jian Zhu
dcf93fa3b9
support deploy klusterlet outside of managed cluster ( #172 )
...
* support deploy klusterlet outside of managed cluster
Signed-off-by: zhujian <jiazhu@redhat.com >
* create manged cluster kubeconfig by sa syncer
Signed-off-by: zhujian <jiazhu@redhat.com >
* fix CI issues
Signed-off-by: zhujian <jiazhu@redhat.com >
* add unit test
Signed-off-by: zhujian <jiazhu@redhat.com >
* separate the manifests and operations for klusterlet operator
Signed-off-by: zhujian <jiazhu@redhat.com >
* add unit test
Signed-off-by: zhujian <jiazhu@redhat.com >
* add integration test
Signed-off-by: zhujian <jiazhu@redhat.com >
* add e2e test
Signed-off-by: zhujian <jiazhu@redhat.com >
* address code review comments
Signed-off-by: zhujian <jiazhu@redhat.com >
* distinguish the RBAC resource names of managed cluster and management cluster
Signed-off-by: zhujian <jiazhu@redhat.com >
* ensure the klusterlet namespace early
Signed-off-by: zhujian <jiazhu@redhat.com >
* update csv
Signed-off-by: zhujian <jiazhu@redhat.com >
2022-01-04 08:24:14 +01:00
xuezhaojun
de480a0250
fix-apiservice-always-reapply-issue ( #178 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2021-12-18 02:00:22 +01:00
xuezhaojun
d8cd7736fc
add sa syncer ( #176 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2021-12-08 09:44:16 +00:00
Zhiwei Yin
4ee4d15544
update relatedResources in clusterManager and kluterler ( #173 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2021-12-01 10:43:58 +01:00
Wei Liu
15b74555fb
reduce the sar request when hub kubeconfig is valid ( #160 )
...
Signed-off-by: liuwei <liuweixa@redhat.com >
2021-11-10 08:13:39 +01:00
xuezhaojun
9c5338b282
fix resource pressure on hub when too many managed cluster registrate at once ( #152 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2021-09-29 06:17:54 -04:00
OpenShift Merge Robot
be29791278
Merge pull request #151 from kim-fitness/main
...
fix issue #150
2021-09-26 04:10:04 -04:00
kim-fitness
d56e34f53d
fix issue #150 and add related integration/unit test cases
...
Signed-off-by: kim-fitness <jianjin@cn.ibm.com >
2021-09-26 15:40:45 +08:00
Yang Le
9f89842463
create migration requests for clusterset api
...
Signed-off-by: Yang Le <yangle@redhat.com >
2021-09-22 17:03:13 +08:00
Yang Le
3f8699284b
upgrade clusterset version to v1beta1
...
Signed-off-by: Yang Le <yangle@redhat.com >
2021-09-18 10:03:36 +08:00
Jian Qiu
4e812fed37
Ensure addon namespace and sync secret
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2021-09-13 10:16:55 +08:00
Jian Qiu
0b749401de
Remove bindata and update api
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2021-09-09 11:30:06 +08:00
Zhiwei Yin
a9128100fa
add nodeSelector and tolerations to deployments
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2021-09-08 15:58:01 +08:00
huiwq1990
ed751da6e5
change comment
...
Signed-off-by: huiwq1990 <huiwq1990@163.com >
2021-08-05 13:10:08 +08:00
Jian Qiu
4fdc63ffa8
Update work api
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2021-07-30 09:59:59 +08:00
Yang Le
d84378e430
refine placement permissions
...
Signed-off-by: Yang Le <yangle@redhat.com >
2021-07-27 10:57:14 +08:00
Jian Qiu
52b1fc4b5d
Fix webhook rbac
...
Add rules for apiserver fairness
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2021-07-22 14:27:40 +08:00
Yang Le
d46ba2ee89
grant work-agent the permission to update namespace
...
Signed-off-by: Yang Le <yangle@redhat.com >
2021-07-07 10:58:24 +08:00
Jian Qiu
1453d66831
Add image push postsubmit
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2021-06-22 14:29:21 +08:00
Jian Qiu
ef338a1b0b
Update deps and enable action
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2021-06-21 11:42:45 +08:00
Jian Qiu
76d6096be8
Change to use kustomize to deploy
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2021-06-18 08:11:12 +08:00
liuwei
8db2ecf7e1
support to check hub seceret expired
...
Signed-off-by: liuwei <liuweixa@redhat.com >
2021-06-01 08:58:39 +00:00
Zhiwei Yin
0199e6681b
update crds
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2021-05-27 10:07:05 +08:00
Yang Le
4ffd69c577
add missing rbac rule & e2e test for placement
...
Signed-off-by: Yang Le <yangle@redhat.com >
2021-05-20 15:45:30 +08:00
Yang Le
985dcf71cb
deploy placement controller
...
Signed-off-by: Yang Le <yangle@redhat.com >
2021-05-19 12:06:06 +08:00
OpenShift Merge Robot
714ffb79d1
Merge pull request #118 from elgnay/upgrade-clustermanager-crd
...
upgrade ClusterManager crd to support placement
2021-05-11 23:48:47 -04:00
Yang Le
29e8bf4daf
upgrade ClusterManager crd to support placement
...
Signed-off-by: Yang Le <yangle@redhat.com >
2021-05-12 10:50:02 +08:00
OpenShift Merge Robot
813609193c
Merge pull request #116 from imiller0/workload_partitioning_annotations
...
Add management workload annotations
2021-05-11 14:22:53 -04:00
Ian Miller
893d73c2a5
Add management workload annotations
...
In support of the workload partitioning feature
(openshift/enhancements#703 ), we need to add
annotations to all management pods and namespaces so they can be
properly identified and assigned to segregated management cores on
clusters configured to do so.
Signed-off-by: Ian Miller <imiller@redhat.com >
2021-05-10 09:43:03 -04:00
Jian Qiu
35d21457dc
Adjust agent replica based on infra api
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2021-05-07 15:06:23 +08:00
Zhiwei Yin
9c4a96ba84
run as non-root
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2021-04-19 21:19:07 +08:00
Zhiwei Yin
4cd18564e8
upgrade CRD to v1 and k8s lib to 1.20.0
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2021-04-12 10:30:10 +08:00
liuwei
03c5a70842
enable addon manager
...
Signed-off-by: liuwei <liuweixa@redhat.com >
2021-04-07 08:37:35 +00:00