Commit Graph

26 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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