Commit Graph

19 Commits

Author SHA1 Message Date
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
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
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
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
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
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
ef338a1b0b Update deps and enable action
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2021-06-21 11:42:45 +08:00
OpenShift Merge Robot
4cf775c00d Merge pull request #97 from elgnay/issue_5475
Clean up applied manifestworks when detaching cluster
2020-12-15 00:16:56 -05:00
Jian Qiu
5fb1cff007 Fix wrong condition message in klusterlet
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2020-12-10 17:53:53 +08:00
Yang Le
c6f083f3b9 Delete terminating applied manifestworks when detaching cluster
Signed-off-by: Yang Le <yangle@redhat.com>
2020-12-10 14:17:47 +08:00
Yang Le
7f8620babf Disable cert rotation for temporary kube client 2020-09-30 00:48:10 +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
liuwei
351a0ad27e refactor degraded condition logic 2020-07-21 10:26:05 +08:00
liuwei
2b1d134d91 check secret and deployment status 2020-06-25 14:46:13 +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