Ohki Nozomu
cc7a5cdd96
Remove anonymous check from managedClusterCreatingController sync ( #299 )
...
Signed-off-by: aii-nozomu-oki <h-nozomu.oki@inside.ai >
2023-02-14 08:40:55 -05:00
Jian Qiu
177f916c06
use labels in api repo ( #290 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-01-31 01:47:32 -05:00
Wei Liu
9bf732aab3
roll back code to support lower version k8s ( #291 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2022-12-15 10:54:37 -05:00
Wei Liu
18e798299b
exclude add-on csrs ( #286 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2022-11-21 07:33:49 -05:00
Wei Liu
d8dd24899b
ensure a cluster lease is updated after the cluster is restored ( #280 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2022-11-04 05:14:46 -04:00
Jian Qiu
3d4e3377fa
Avoid frequent CSR creation ( #277 )
...
* Avoid frequent CSR creation
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Add todo for threshold value
Signed-off-by: Jian Qiu <jqiu@redhat.com >
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-10-28 10:02:21 -04:00
Wei Liu
3c49c03e88
update golang to 1.19 ( #279 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2022-10-24 21:14:30 -04:00
Wei Liu
b391219017
remove the support for checking add-on hub lease ( #275 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2022-10-19 03:07:23 -04:00
Min Kim
1194172bc5
decouple bootstrap informers to distinguish the lifecycle ( #271 )
...
Signed-off-by: yue9944882 <291271447@qq.com >
Signed-off-by: yue9944882 <291271447@qq.com >
2022-09-15 16:08:35 +02:00
ivanscai
d6081f91f3
update serverURL and CABundle if ManagedCluster is created before reg… ( #270 )
...
* update serverURL and CABundle if ManagedCluster is created before registration-agent running
Signed-off-by: ivan-cai <caijing.cai@alibaba-inc.com >
* merge spokeExternalServerURLs to ManagedClusterClientConfigs, and ingnore Unauthorized error
Signed-off-by: ivan-cai <caijing.cai@alibaba-inc.com >
* add comment for skipping unauthorized error, and skip unauthorized error when creating ManagedCluster
Signed-off-by: ivan-cai <caijing.cai@alibaba-inc.com >
* use skipUnauthorizedError at creating controller
Signed-off-by: ivan-cai <caijing.cai@alibaba-inc.com >
Signed-off-by: ivan-cai <caijing.cai@alibaba-inc.com >
2022-09-07 10:21:34 +02:00
Jian Zhu
95d6154425
recreate the hub kubeconfig when addon deploy option changes ( #265 )
...
* recreate the hub kubeconfig when addon deploy option changes
Signed-off-by: zhujian <jiazhu@redhat.com >
* put addon agent install option into hash
Signed-off-by: zhujian <jiazhu@redhat.com >
* put addonInstallOption inline in registrationConfig
Signed-off-by: zhujian <jiazhu@redhat.com >
2022-08-04 16:40:48 +00:00
Yang Le
7de42a03a6
support add-on lease on management cluster ( #260 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2022-07-07 09:29:18 +00:00
Jian Zhu
f758ff586c
Support generate hub kubeconfigon on the management cluster for addons ( #252 )
...
* Support generate hub kubeconfig on the management cluster for addons
Signed-off-by: zhujian <jiazhu@redhat.com >
* Add more comments
Signed-off-by: zhujian <jiazhu@redhat.com >
* Add unit test
Signed-off-by: zhujian <jiazhu@redhat.com >
2022-06-30 03:32:08 +00:00
ivanscai
364bce97ef
use registration feature gates constants & variabels which in api repo ( #253 )
...
Signed-off-by: ivan-cai <caijing.cai@alibaba-inc.com >
Co-authored-by: ivan-cai <caijing.cai@alibaba-inc.com >
2022-06-09 10:28:52 -04:00
Jian Qiu
fd33e20727
Update binding status ( #248 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-05-31 04:43:26 -04:00
Jian Qiu
9271969e31
Add client cert condition when cert is rotated ( #246 )
...
* Add client cert condition when cert is rotated
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Fix func name
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-05-29 23:38:43 -04:00
Jian Qiu
b849d2c838
Patch status and finalizers ( #244 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-05-12 03:24:40 -04:00
Jian Qiu
186bbcabd8
Add lint check in make verify ( #243 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-05-09 03:00:29 -04:00
Jian Qiu
9279f318d7
Reduce queue size and add filter for csr informer ( #223 )
...
1. always return single key to queue so it will not blow up the queue
2. add filter for csr informer
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-04-06 21:31:29 -04:00
Min Kim
892a6ea782
V1beta1 CSR compatibility ( #214 )
...
* [generated] go mod tidy/vendor
Signed-off-by: yue9944882 <291271447@qq.com >
* feature-gate: V1beta1CSRAPICompatibility
Signed-off-by: yue9944882 <291271447@qq.com >
2022-03-23 04:41:00 +01:00
Jian Qiu
f3b18aa211
Add hub freature flags ( #204 )
...
Also fix some lint issue
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-03-01 01:51:17 -05:00
Min Kim
6331fe4629
Skipping customized health check ( #187 )
...
* skipping customized health check
Signed-off-by: yue9944882 <291271447@qq.com >
* bump ocm api dep
Signed-off-by: yue9944882 <291271447@qq.com >
* fixes integration test flakiness
Signed-off-by: yue9944882 <291271447@qq.com >
2021-12-30 13:18:10 +01:00
champly
3afdcac894
fix lease interval value set ( #184 )
...
* fix lease interval value set
Signed-off-by: champly <champly@outlook.com >
* remove managedcluster leasedurationsecondes value set
Signed-off-by: champly <champly@outlook.com >
2021-12-09 02:36:16 +00:00
Jian Zhu
e5722d507f
support run spoke agent outside of managed cluster ( #175 )
...
* support run spoke agent outside of managed cluster
Signed-off-by: zhujian <jiazhu@redhat.com >
* define the management cluster
Signed-off-by: zhujian <jiazhu@redhat.com >
2021-12-08 02:08:20 +00:00
Jian Zhu
c849951f90
deploy control plane and agent in two clusters ( #182 )
...
* deploy control plane and agent in two clusters
Signed-off-by: zhujian <jiazhu@redhat.com >
* change the default spoke component namespace
Signed-off-by: zhujian <jiazhu@redhat.com >
2021-12-06 01:49:21 +00:00
Yang Le
d331716ed6
re-create addon client cert once bootstrap kubeconfig changes ( #172 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2021-12-02 04:28:35 +01:00
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
suigh
80b5f416e7
report all resources
...
Signed-off-by: suigh <suigh@cn.ibm.com >
2021-09-08 17:05:54 +08:00
huiwq1990
d9653368a2
fix spell
...
Signed-off-by: huiwq1990 <huiwq1990@163.com >
2021-08-11 12:05:18 +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
liuwei
2429fa3a19
keep compatibility with lease API
...
Signed-off-by: liuwei <liuweixa@redhat.com >
2021-06-18 05:03:24 +00:00
liuwei
b4ee95f2c6
update addon lease msg
...
Signed-off-by: liuwei <liuweixa@redhat.com >
2021-05-27 02:36:20 +00:00
Zhiwei Yin
e89b807966
expose clusterclaims by label customized-only
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2021-05-24 22:15:27 +08:00
liuwei
4cc16e3ef9
fix lease update event reason typo
...
Signed-off-by: liuwei <liuweixa@redhat.com >
2021-05-07 01:54:19 +00:00
liuwei
35a86574a7
merge managed cluster capacity status
...
Signed-off-by: liuwei <liuweixa@redhat.com >
2021-04-27 03:19:31 +00: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
Yang Le
5cde8b5021
add resync logic for addon
...
Signed-off-by: Yang Le <yangle@redhat.com >
2021-04-21 17:10:25 +08:00
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