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
960b2690d1
add v0.9 changelog ( #276 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2022-10-19 08:10:31 -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
Wei Liu
fd7eb39cbd
stop to discovery addon when its managed cluster is not found ( #274 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2022-10-18 10:00:49 -04:00
DangPeng Liu
883295b635
add conversion webhook to convert clusterset api ( #272 )
...
Signed-off-by: ldpliu <daliu@redhat.com >
Signed-off-by: ldpliu <daliu@redhat.com >
2022-10-11 04:02:29 +00: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
Zhiwei Yin
b43a54935f
reduce log print ( #269 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2022-08-31 03:53:04 -04:00
Qing Hao
1612f1017e
check e2e mutatingWebhookDeployment replicas ( #267 )
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
2022-08-08 01:10:50 +00: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
Wei Liu
5b9fe1431d
update libs ( #266 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2022-07-25 08:46:38 +02:00
Jian Qiu
e7d98d0a97
fix release yaml ( #264 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-07-12 04:00:34 +00:00
Wei Liu
1de5b58db1
add v0.8 changelog ( #263 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2022-07-11 08:48:18 +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
Bowen Zhu
077793fb37
Add V1beta1CSRAPICompatibility feature gate for registration-controller ( #259 )
...
* Add V1beta1CSRAPICompatibility feature gate for registration-controller
Signed-off-by: Promacanthus <promacanthus@gmail.com >
* Add csrInfo and update isSpokeClusterClientCertRenewal
Signed-off-by: Promacanthus <promacanthus@gmail.com >
* Rerun go mod vendor
Signed-off-by: Promacanthus <promacanthus@gmail.com >
* Register V1beta1CSRAPICompatibility and refacotr authorize function
Signed-off-by: Promacanthus <promacanthus@gmail.com >
* Update api dependency
Signed-off-by: Promacanthus <promacanthus@gmail.com >
2022-07-07 02:12:32 +00:00
Qing Hao
84012648dc
leader election needs to operate configmaps and leases ( #261 )
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
2022-07-05 16:10:11 +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
Qing Hao
483f443898
split registration permissions ( #255 )
...
* split registration permissions
Signed-off-by: haoqing0110 <qhao@redhat.com >
* add more comments
Signed-off-by: haoqing0110 <qhao@redhat.com >
2022-06-27 08:18:28 +00:00
DangPeng Liu
2dcb530b91
update qps and burst ( #249 )
...
Signed-off-by: ldpliu <daliu@redhat.com >
2022-06-20 06:14:24 +00:00
Wei Liu
d37ce9d58c
enable log flags ( #254 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2022-06-15 16:18:20 +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
DangPeng Liu
5b9b4a2c08
add global clusterset ( #251 )
...
Signed-off-by: ldpliu <daliu@redhat.com >
2022-06-09 02:46:14 -04:00
DangPeng Liu
dd2c3fdf19
adapt label selector in clusterset ( #242 )
...
Signed-off-by: ldpliu <daliu@redhat.com >
2022-06-06 02:46:02 -04:00
DangPeng Liu
215429b94c
remove add default set label controller ( #250 )
...
Signed-off-by: ldpliu <daliu@redhat.com >
2022-06-05 23:30:00 -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
52b5857d21
Upgrade go to 1.18 ( #247 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-05-25 02:33:23 -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
DangPeng Liu
9ca206b5e5
add all clusterset permission ( #241 )
...
Signed-off-by: ldpliu <daliu@redhat.com >
2022-04-28 02:31:38 -04:00
Jian Qiu
4cbc2d46de
Update golang builder in Dockerfile ( #240 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-04-25 03:48:14 -04:00
Yang Le
4696a9545e
add join permission on defatult clusterset ( #238 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2022-04-15 06:42:02 -04:00
panguicai
4a8be95181
fix kind create cluster --name ( #237 )
...
Signed-off-by: panguicai008 <1121906548@qq.com >
2022-04-15 01:24:05 -04:00
Yang Le
a243379343
fix clusterset sync issue ( #234 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2022-04-14 06:38:54 -04:00
Min Kim
7ff623a339
share release job env ( #233 )
...
Signed-off-by: yue9944882 <291271447@qq.com >
2022-04-08 06:52:18 -04:00
DangPeng Liu
29f55c944b
fix webhook error ( #232 )
...
Signed-off-by: ldpliu <daliu@redhat.com >
2022-04-08 03:58:32 -04:00
Wei Liu
ffbac91e3e
update libs ( #229 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2022-04-08 01:28:21 -04:00
Min Kim
9d52c0f497
publish release artifact after image are built ( #231 )
...
Signed-off-by: yue9944882 <291271447@qq.com >
2022-04-07 08:07:37 -04:00
Jian Qiu
922fca0015
fix workdir issue for image action ( #230 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-04-07 06:35:30 -04:00
Jian Qiu
83aabb4256
Fix make images targe in post submit ( #228 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-04-07 05:33:31 -04:00
Jian Qiu
927a8b92ce
Support multi arch image ( #227 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-04-07 04:51:30 -04:00
Wei Liu
12bef6bb91
reduce the get request for managed cluster when checking managed cluster lease status ( #226 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2022-04-07 02:13:34 -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
Yang Le
eb0daa24ac
allow ManagedCluster creation with taint.timeAdded specified ( #224 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2022-04-06 08:22:53 -04:00
DangPeng Liu
560310e8af
set clusterset to default when value is null string ( #222 )
...
Signed-off-by: ldpliu <daliu@redhat.com >
2022-04-06 03:54:57 -04:00
Wei Liu
59d2cd6a3e
add v0.7 changelog ( #220 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2022-03-24 08:15:23 +01:00
Jian Qiu
69129afb57
Avoid building latest image in release branch ( #218 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-03-23 10:46:18 +01: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
ed90432837
Disable apf in webhook ( #215 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2022-03-23 02:33:35 +01:00