Commit Graph

420 Commits

Author SHA1 Message Date
Zhiwei Yin
033e7b7867 reduce error logs when cluster is deleting (#354)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-05-23 22:25:48 -04:00
Jian Qiu
05aab75a6e fix: Add cluster/accept permission (#353)
this is required for auto approve feature

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-05-23 08:47:49 -04:00
Jian Qiu
9b3a03feff Upgrade API for jsonRaw field in work (#352)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-05-22 04:54:35 -04:00
Jian Qiu
24108109ba Support setting autoApprovedUser and certDurationSeconds (#351)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-05-18 21:20:51 -04:00
Zhiwei Yin
fc16c670b3 remove escalate bind rbac (#344)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-05-11 04:25:11 -04:00
Zhiwei Yin
c5446384b0 limit secret permissions (#350)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-05-10 23:34:44 -04:00
Qing Hao
8bc665376d update addon-manager permission (#348)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-05-04 21:48:41 -04:00
xuezhaojun
a702559281 Add gosec in verify process. (#347)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-04-18 22:15:25 -04:00
Mohamed ElSerngawy
3aaf9fd1cb Add e2e test for manifestWorkReplicaSet (#345)
Signed-off-by: melserngawy <melserng@redhat.com>
2023-04-13 20:53:16 -04:00
Zhiwei Yin
c4c9f1b160 enable addon management and workreplicaset featuregates in e2e (#346)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-04-12 23:56:56 -04:00
xuezhaojun
5b082742c6 Add: namespace:get for registration webhook. (#342)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-04-07 02:32:39 -04:00
Mohamed ElSerngawy
c2cedbe2ff Fix ManifestWorkReplicaset featureGate (#340)
Signed-off-by: melserngawy <melserng@redhat.com>
2023-04-05 22:09:18 -04:00
Qing Hao
bceed21bb7 update csv (#341)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-04-03 22:45:10 -04:00
Jian Zhu
c4d3d9e90a add e2e for deleting klusterlet when the managed cluster was destroyed (#339)
Signed-off-by: zhujian <jiazhu@redhat.com>
2023-03-31 04:41:18 -04:00
Jian Qiu
d14214ee0b Remove addon enable field (#338)
Use feature gate instead

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-03-30 23:47:02 -04:00
Jian Zhu
1b463dde17 check managed cluster connectivity when deleting klusterlet (#337)
* check managed cluster connectivity when deleting klusterlet

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

* check managed cluster connectivity just after building the clients

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

---------

Signed-off-by: zhujian <jiazhu@redhat.com>
2023-03-30 05:27:46 -04:00
Mohamed ElSerngawy
8118b67e1b Add manifestWorkReplicaSets controller (#331)
Signed-off-by: melserngawy <melserng@redhat.com>
2023-03-29 23:11:16 -04:00
DangPeng Liu
547fc1482e fix Implicit memory aliasing in for loop (#335)
Signed-off-by: ldpliu <daliu@redhat.com>
2023-03-28 15:40:09 +02:00
Qing Hao
d8a6d334e7 update api (#336)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-03-27 02:28:37 -04:00
xuezhaojun
229d386450 Upgrade dependencies. (#333)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-03-21 06:58:34 -04:00
DangPeng Liu
eb531ad979 refactor migration and storedversion update (#332)
Signed-off-by: ldpliu <daliu@redhat.com>
2023-03-17 03:39:35 -04:00
Qing Hao
ee0a60f013 addon manager feature gates (#325)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-03-02 09:29:14 +01:00
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