Commit Graph

398 Commits

Author SHA1 Message Date
DangPeng Liu
87dc41469c remove old webhook (#330)
Signed-off-by: ldpliu <daliu@redhat.com>
2023-03-02 02:40:43 +01:00
Zhiwei Yin
0d87926328 upgrade kube lib to 1.26 (#329)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-03-02 00:28:21 +01:00
DangPeng Liu
bf0eeb0775 fix migration issue (#328)
Signed-off-by: ldpliu <daliu@redhat.com>
2023-02-28 10:27:14 +01:00
Jian Zhu
5b5c587664 Do not filter applied manifest work by hub host when deleting klusterlet (#321)
Signed-off-by: zhujian <jiazhu@redhat.com>
2023-02-28 10:19:13 +01:00
dependabot[bot]
f92c8be5f1 Bump golang.org/x/crypto from 0.0.0-20220214200702-86341886e292 to 0.1.0 (#326)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.0.0-20220214200702-86341886e292 to 0.1.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 09:30:46 +01:00
dependabot[bot]
a0718fe0ee Bump golang.org/x/net from 0.1.0 to 0.7.0 (#323)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.1.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.1.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 02:53:30 +01:00
Jian Qiu
b17b041a13 Upgrade mca/cma APIs (#324)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-02-20 04:18:12 +01:00
Zhiwei Yin
207844bddd bump v0.11.0 (#320)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-02-17 02:30:46 -05:00
DangPeng Liu
f020c8a48d clusterset v1beta1 migration (#315)
Signed-off-by: ldpliu <daliu@redhat.com>
2023-02-12 23:00:58 -05:00
Jian Zhu
9d7ee1149a regenerate and load hosted secrets when ca changes (#316)
Signed-off-by: zhujian <jiazhu@redhat.com>
2023-02-10 01:00:12 -05:00
dependabot[bot]
0cd05a7e49 Bump github.com/emicklei/go-restful (#317)
Bumps [github.com/emicklei/go-restful](https://github.com/emicklei/go-restful) from 2.9.5+incompatible to 2.16.0+incompatible.
- [Release notes](https://github.com/emicklei/go-restful/releases)
- [Changelog](https://github.com/emicklei/go-restful/blob/v3/CHANGES.md)
- [Commits](https://github.com/emicklei/go-restful/compare/v2.9.5...v2.16.0)

---
updated-dependencies:
- dependency-name: github.com/emicklei/go-restful
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-09 22:38:34 -05:00
Zhiwei Yin
78fc1f58bb upgrade image builder (#314)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-02-06 02:54:34 +01:00
Zhiwei Yin
5bead9c777 add changelog v0.10 (#313)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-02-02 14:20:47 +01:00
Zhiwei Yin
539b6ee334 cleanup return if appliedmainfestWork is notfound (#312)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>

Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-01-18 22:06:02 -05:00
Matt Prahl
8033805662 Allow customizing the klusterlet name when deploying in hosted mode (#311)
This will allow users of this Makefile to deploy multiple managed
clusters in hosted mode.

Signed-off-by: mprahl <mprahl@users.noreply.github.com>

Signed-off-by: mprahl <mprahl@users.noreply.github.com>
2023-01-18 09:10:22 -05:00
Jon Jackson
81160817e4 Add OAuthClient permissions to klusterlet-work-clusterrole-execution (#310)
Signed-off-by: Jon Jackson <jonjacks@redhat.com>

Signed-off-by: Jon Jackson <jonjacks@redhat.com>
2022-12-20 22:49:53 -05:00
Jian Qiu
c3baabeec2 use crd manager to update and clean crds (#297)
* use crd manager to update clean crds

Signed-off-by: Jian Qiu <jqiu@redhat.com>

* Update tests

Signed-off-by: Jian Qiu <jqiu@redhat.com>

* Rebase crd manager

Signed-off-by: Jian Qiu <jqiu@redhat.com>

* build client builder to make code clearer

Signed-off-by: Jian Qiu <jqiu@redhat.com>

* Add ut for crdmanager

Signed-off-by: Jian Qiu <jqiu@redhat.com>

* Compare crd spec when update

Signed-off-by: Jian Qiu <jqiu@redhat.com>

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-12-15 20:40:46 -05:00
Yuchen YAO
4264c7d22c upgrade github action (#308)
Signed-off-by: ycyaoxdu <yaoyuchen0626@163.com>

Signed-off-by: ycyaoxdu <yaoyuchen0626@163.com>
2022-12-06 08:01:26 -05:00
xuezhaojun
5459ac86e7 Add test case for hubConfigSecretMissing case. (#307)
Signed-off-by: xuezhaojun <zxue@redhat.com>

Signed-off-by: xuezhaojun <zxue@redhat.com>
2022-12-06 02:13:56 -05:00
Jian Zhu
1ab08bd6d7 Make work agent feature gate configurable (#303)
* Make work agent feature gate configurable

Signed-off-by: zhujian <jiazhu@redhat.com>

* Merge registration and work feature gate conditions

Signed-off-by: zhujian <jiazhu@redhat.com>

Signed-off-by: zhujian <jiazhu@redhat.com>
2022-11-27 20:55:43 -05:00
Jian Qiu
e12657c501 Refactor klusterlet (#306)
Signed-off-by: Jian Qiu <jqiu@redhat.com>

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-11-23 08:28:05 -05:00
Jian Qiu
94f17dedd1 Refactor clustermanager controller (#305)
* Refactor clustermanager controller

Signed-off-by: Jian Qiu <jqiu@redhat.com>

* Refactor cond update

Signed-off-by: Jian Qiu <jqiu@redhat.com>

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-11-23 04:30:49 -05:00
DangPeng Liu
7c8d71e194 use controller-runtime webhook (#293)
Signed-off-by: ldpliu <daliu@redhat.com>

Signed-off-by: ldpliu <daliu@redhat.com>
2022-11-17 06:45:25 +00:00
xuezhaojun
fbeb0e224d Upgrade ginkgo to v2. (#301)
Signed-off-by: xuezhaojun <zxue@redhat.com>

Signed-off-by: xuezhaojun <zxue@redhat.com>
2022-11-16 01:20:54 +00:00
Wei Liu
3d591bb11b update clustermanangementaddon api (#300)
Signed-off-by: Wei Liu <liuweixa@redhat.com>

Signed-off-by: Wei Liu <liuweixa@redhat.com>
2022-11-08 03:28:26 -05:00
Jian Qiu
514fff1469 upgrade appliedmanifestwork API (#298)
Signed-off-by: Jian Qiu <jqiu@redhat.com>

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-11-07 08:27:26 -05:00
Jian Zhu
5e11092b0e update changelog 0.9.1 (#295)
Signed-off-by: zhujian <jiazhu@redhat.com>

Signed-off-by: zhujian <jiazhu@redhat.com>
2022-10-31 00:06:51 -04:00
Jian Zhu
3f119fdefe Fix the paradox description of the klusterlet condition (#290)
Signed-off-by: zhujian <jiazhu@redhat.com>

Signed-off-by: zhujian <jiazhu@redhat.com>
2022-10-30 22:10:14 -04:00
Zhiwei Yin
b963a76b85 bump to 0.10.0 (#291)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>

Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2022-10-28 09:59:44 -04:00
DangPeng Liu
7e12d497ff upgrade go to 1.19 (#286)
Signed-off-by: ldpliu <daliu@redhat.com>

Signed-off-by: ldpliu <daliu@redhat.com>
2022-10-27 01:51:40 -04:00
Wei Liu
29011c8e17 correct managed cluster lease name (#287)
Signed-off-by: Wei Liu <liuweixa@redhat.com>

Signed-off-by: Wei Liu <liuweixa@redhat.com>
2022-10-26 23:16:09 -04:00
Zhiwei Yin
919dae608d add changelog 0.9 (#285)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>

Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2022-10-19 08:13:05 -04:00
DangPeng Liu
820d5b0149 fix conversion webhook in hosted mode (#280)
Signed-off-by: ldpliu <daliu@redhat.com>

Signed-off-by: ldpliu <daliu@redhat.com>
2022-10-19 02:17:03 -04:00
Jian Qiu
fbbb5d9f48 Fix token path in hosted mode (#284)
Signed-off-by: Jian Qiu <jqiu@redhat.com>

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-10-18 02:54:08 -04:00
Jian Zhu
432fac3616 Remove install mode detached (#282)
Signed-off-by: zhujian <jiazhu@redhat.com>

Signed-off-by: zhujian <jiazhu@redhat.com>
2022-10-17 05:43:34 -04:00
Qing Hao
8745a76e6b remove clusterrole/role cleanBeforeApply code added in ocm 0.8.0 (#283)
Signed-off-by: haoqing0110 <qhao@redhat.com>

Signed-off-by: haoqing0110 <qhao@redhat.com>
2022-10-17 02:54:33 -04:00
Qing Hao
57463accd5 update clusterrole in olm-catalog (#281)
Signed-off-by: haoqing0110 <qhao@redhat.com>

Signed-off-by: haoqing0110 <qhao@redhat.com>
2022-10-16 23:25:46 -04:00
DangPeng Liu
6bf6df2f2c add conversion webhook (#279)
Signed-off-by: ldpliu <daliu@redhat.com>

Signed-off-by: ldpliu <daliu@redhat.com>
2022-10-14 00:19:30 -04:00
Qing Hao
eb6105dd08 remove API Placement PlacementDecision ClusterSet ClusterSetBinding API version v1alpha1 (#278)
* remove API Placement PlacementDecision ClusterSet ClusterSetBinding API version v1alpha1

Signed-off-by: haoqing0110 <qhao@redhat.com>

* check migration status before update CRD stored version

Signed-off-by: haoqing0110 <qhao@redhat.com>

Signed-off-by: haoqing0110 <qhao@redhat.com>
2022-10-10 11:26:59 +02:00
Jian Qiu
79c6b55fae Fix: delete addon crd at first (#277)
This is to ensure manifestwork of addon is deleted at first.

Signed-off-by: Jian Qiu <jqiu@redhat.com>

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-09-28 04:05:36 +02:00
Jian Zhu
0944f98904 Make work webhook feature gate configurable (#276)
Signed-off-by: zhujian <jiazhu@redhat.com>

Signed-off-by: zhujian <jiazhu@redhat.com>
2022-09-23 08:47:08 +02:00
Jian Zhu
e1bf8191f3 Allow work agent to impersonate serviceaccount (#275)
Signed-off-by: zhujian <jiazhu@redhat.com>

Signed-off-by: zhujian <jiazhu@redhat.com>
2022-09-21 02:59:55 +02:00
Jian Zhu
3d0b5cd219 Allow work agent to create subjectaccessreviews (#273)
Signed-off-by: zhujian <jiazhu@redhat.com>

Signed-off-by: zhujian <jiazhu@redhat.com>
2022-09-15 03:16:53 +02:00
ivanscai
ca32de775b add skip-remove-crds option for cluster-manager, to choose if skip removing CRDs when ClusterManager is deleting (#274)
Signed-off-by: ivan-cai <caijing.cai@alibaba-inc.com>

Signed-off-by: ivan-cai <caijing.cai@alibaba-inc.com>
2022-09-13 17:40:13 +02:00
Wei Liu
0f5141c5fc update add-on configuration apis (#272)
Signed-off-by: Wei Liu <liuweixa@redhat.com>

Signed-off-by: Wei Liu <liuweixa@redhat.com>
2022-09-09 07:52:55 +02:00
Matt Prahl
4306b7849a Use the correct managed cluster name in the apply-spoke-cr-hosted target (#266)
Signed-off-by: mprahl <mprahl@users.noreply.github.com>

Signed-off-by: mprahl <mprahl@users.noreply.github.com>
2022-08-30 09:41:05 -04:00
Jian Qiu
b004bcc614 Apply only when having finalizer (#270)
Signed-off-by: Jian Qiu <jqiu@redhat.com>

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-08-22 10:06:14 -04:00
Jian Zhu
59b5e56fd3 Refactor to split two controllers to handle klusterlet deployment and cleanup (#269)
Signed-off-by: zhujian <jiazhu@redhat.com>

Signed-off-by: zhujian <jiazhu@redhat.com>
2022-08-18 03:31:13 +00:00
Zhiwei Yin
b14e41788a upgrade go lib to the latest version and bump csv to 0.9.0 (#265)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2022-07-26 02:42:46 +02:00
Matt Prahl
291f465601 Allow OCM addons to setup metrics collection with Prometheus (#262)
Related:
https://github.com/stolostron/backlog/issues/23547

Signed-off-by: mprahl <mprahl@users.noreply.github.com>
2022-07-12 13:54:11 +00:00