Commit Graph

18 Commits

Author SHA1 Message Date
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
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
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
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 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
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
Jian Qiu
f3ea6c5d99 update deps and enable action
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2021-06-22 13:15:34 +08:00
xuezhaojun
d0f6fb7c84 Fix issues in unit-test and e2e-test
Signed-off-by: xuezhaojun <zxue@redhat.com>
2021-06-21 11:09:26 +08: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
ad99b65e47 Support DNS names of client cert
Signed-off-by: Yang Le <yangle@redhat.com>
2021-04-13 21:02:01 +08: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
Yang Le
0d6abef9a0 Fix invalid client certificate issue
Signed-off-by: Yang Le <yangle@redhat.com>
2021-04-08 14:46:30 +08: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