xuezhaojun
11efeb18b5
Add goci lint. ( #243 )
...
* Add goci lint.
Signed-off-by: xuezhaojun <zxue@redhat.com >
* handle errs and remove unused.
Signed-off-by: xuezhaojun <zxue@redhat.com >
* fix fail and remove unused code.
Signed-off-by: xuezhaojun <zxue@redhat.com >
2022-05-10 02:50:42 -04:00
Yang Le
c93f5cefd2
add missing permission on kube v1.11.0 ( #234 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2022-04-08 06:48:17 -04:00
Yang Le
ebf48bc123
support Klusterlet.Spec.Namespace in hosted mode ( #227 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2022-03-30 05:20:13 -04:00
xuezhaojun
7aa41cda65
Add hosted mode in klusterlet ( #220 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2022-03-15 05:03:53 -04:00
xuezhaojun
84e12c9197
Change to hosted mode in cluster-manager ( #219 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2022-03-15 01:11:52 -04:00
Jian Qiu
db866a5891
Upgrade api and library ( #217 )
...
* Upgrade api and library
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* update permission for operator
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-03-14 22:23:53 -04:00
Zhiwei Yin
a67f11c21e
only set work-agent replica 0 when hub-kubeconfig-secret is missing ( #213 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2022-03-10 05:40:06 -05:00
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
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
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
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
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
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
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
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
Zhiwei Yin
7df1f5afa3
update integration to trigger new build
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2021-08-04 17:08:13 +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
liuwei
8db2ecf7e1
support to check hub seceret expired
...
Signed-off-by: liuwei <liuweixa@redhat.com >
2021-06-01 08:58:39 +00: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
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
Yang Le
be2d2e6e44
Add CertRotationController
...
Signed-off-by: Yang Le <yangle@redhat.com >
2021-01-14 17:40:22 +08:00
liuwei
50e71ae74f
reconcile klusterlet bootstrap secret
2020-09-30 12:29:53 +08:00
Zhiwei Yin
609465f787
fix Remediate Static Scan Findings
2020-09-10 14:24:03 +08:00
Jian Qiu
7bdf5a0f07
Update to 1.19.0 and change to use metav1.Condition
2020-09-04 12:09:36 +08:00
Jian Qiu
4d588c353b
Install work webhook on hub
2020-08-07 09:28:03 +08:00
liuwei
351a0ad27e
refactor degraded condition logic
2020-07-21 10:26:05 +08:00
ZhiweiYin
57a1d98292
rename clusterrole and clusterrolebinding
2020-07-01 15:20:32 +08:00
OpenShift Merge Robot
3882bcbca1
Merge pull request #38 from skeeey/hub-status
...
check hub deployment status
2020-06-26 08:07:00 -04:00
OpenShift Merge Robot
df2a6ca4dc
Merge pull request #36 from skeeey/deploy-status
...
check managed cluster agent secrets status
2020-06-25 10:27:54 -04:00
liuwei
6007d35c02
check hub deployment status
2020-06-25 16:08:48 +08:00
liuwei
2b1d134d91
check secret and deployment status
2020-06-25 14:46:13 +08:00
Jian Qiu
0efbe99530
Upgrade library-go
2020-06-19 20:51:14 +08:00
Jian Qiu
15a42dd726
Followup of pr33
...
1. fix some typos
2. change forceRollOut func to be immutable
2020-06-18 16:55:56 +08:00
Jian Qiu
dab4bbf081
Use generation to track update
2020-06-15 17:00:13 +08:00
Jian Qiu
83b53da4dd
Add klusterlet degraded status
2020-06-10 11:52:42 +08:00
Jian Qiu
235c337853
Fix issue when externalserver is not set
2020-06-09 23:29:29 +08:00
Paul Morie
626b1f0894
Rename nucleus -> registration-operator in .go files
2020-06-06 11:31:20 -04:00
Michael D. Elder
399a6b9a73
Adopt ManagedCluster & Klusterlet API in nucleus
2020-06-03 19:25:14 -04:00
Michael D. Elder
eb0d088e03
Adopt new API updates for operator
2020-06-03 14:07:17 +08:00
Jian Qiu
8434bc8b1d
add webhook
2020-05-29 17:40:28 +08:00
liuwei
d7e358074d
enable open-cluster-management nucleus integration test
2020-05-21 16:51:18 +08:00