Commit Graph

83 Commits

Author SHA1 Message Date
Chunlin Yang
6f21760b7e Bump k8s to v0.27.2 (#160)
upgrade to golang 1.20

Signed-off-by: clyang82 <chuyang@redhat.com>
2023-06-06 05:55:07 -04:00
Jian Qiu
8a05d4b030 Refactore integration test (#150)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-05-31 02:34:06 -04:00
xuezhaojun
ad38b9465f Relocate pkgs. (#146)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-05-29 07:20:55 -04:00
xuezhaojun
2fc048a096 Setup images build and github actions(without release).
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-05-25 12:43:57 +08:00
xuezhaojun
ce598a00ef relocate to staging: registration-operator
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-05-25 12:39:38 +08: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
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
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
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
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
DangPeng Liu
f020c8a48d clusterset v1beta1 migration (#315)
Signed-off-by: ldpliu <daliu@redhat.com>
2023-02-12 23:00:58 -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
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
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
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
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 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
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
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
Bowen Zhu
79d280ad8a Add HubApiServerHostAlias for registration-agent and work-agent (#258)
Signed-off-by: Bowen Zhu <Promacanthus@gmail.com>

Add HubApiServerHostAlias for registration-agent and work-agent
2022-07-11 04:17:01 +00:00
Jian Qiu
a7dd402db8 Use token request to sync sa (#259)
* Use token request to sync sa

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

* Upgrade kind

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-07-06 06:09:10 +00:00
ivanscai
3401c8e4bd support hubRegistrationFeatureGates and spokeRegistrationFeatureGates (#230)
* support RegistrationFeatureGates in ClusterManager and Klusterlet

Signed-off-by: ivan-cai <caijing.cai@alibaba-inc.com>

* update to use DefaultHubRegistrationFeatureGates&DefaultSpokeRegistrationFeatureGates in api repo to check registration variable if valid

Signed-off-by: ivan-cai <caijing.cai@alibaba-inc.com>

* enable addonmanagement and defaultClusterset feature if RegistrationConfiguration is nil

Signed-off-by: ivan-cai <caijing.cai@alibaba-inc.com>

* fix some errors in unit test

Signed-off-by: ivan-cai <caijing.cai@alibaba-inc.com>

* add RegistrationFeatureGates to registration webhook

Signed-off-by: ivan-cai <caijing.cai@alibaba-inc.com>

Co-authored-by: caijing.cai <caijing.cai@alibaba-inc.com>
2022-06-22 06:47:06 +00:00
Jian Qiu
5655fce48e Upgrade library and api (#247)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-05-30 04:08:58 -04:00
Jian Qiu
7f9988252c Upgrade golang to 1.18 (#246)
Also upgrade api library

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-05-25 02:07:41 -04:00
DangPeng Liu
25373ddab3 use new clusterset api (#242)
Signed-off-by: ldpliu <daliu@redhat.com>
2022-05-08 21:46:26 -04:00
Zhiwei Yin
dac47a160a upgrade lib (#228)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2022-03-31 10:50:11 -04:00
xuezhaojun
84e12c9197 Change to hosted mode in cluster-manager (#219)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2022-03-15 01:11:52 -04:00
Jian Qiu
db866a5891 Upgrade api and library (#217)
* Upgrade api and library

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

* update permission for operator

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2022-03-14 22:23:53 -04:00
DangPeng Liu
66e65a2fb7 upgrade clusterset api (#208)
Signed-off-by: ldpliu <daliu@redhat.com>
2022-03-02 01:10:41 -05:00
xuezhaojun
00fcdcd30a add detached mode to cluster-manager controller (#190)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2022-02-24 07:57:40 -05:00
Jian Zhu
71fcc78d5f Make the klusterlet install mode optional (#207)
* Make the klusterlet install mode optional

- Update cluster manager and klusterlet api
- Make the klusterlet install mode optional
- Add e2e test to ensure the backward compatibility

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

* Update vendor for the open cluster management api

Signed-off-by: zhujian <jiazhu@redhat.com>
2022-02-23 22:15:29 -05:00
Qing Hao
2c2316fafa update placement and placementdecision to v1beta1 (#198)
* update placement and placementdecision to v1beta1

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

* add placement and placementdecision StorageVersionMigration

Signed-off-by: haoqing0110 <qhao@redhat.com>
2022-01-27 09:06:51 -05:00
Zhiwei Yin
06c7a7af05 upgrade go to 1.17 (#192)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2022-01-17 07:23:18 +01:00
xuezhaojun
e20d45af59 add nil check for nil clients (#191)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2022-01-14 12:14:17 +01:00
Qing Hao
50f1e8410a add addonplacementscore (#187)
* add addonplacementscore

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

* remove addonplacementscore on spoke

Signed-off-by: haoqing0110 <qhao@redhat.com>
2022-01-11 10:55:09 +01:00
Yang Le
672427f49c upgrade api and support managedcluster taint (#183)
Signed-off-by: Yang Le <yangle@redhat.com>
2022-01-10 07:32:50 +01:00
Jian Zhu
dcf93fa3b9 support deploy klusterlet outside of managed cluster (#172)
* support deploy klusterlet outside of managed cluster

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

* create manged cluster kubeconfig by sa syncer

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

* fix CI issues

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

* add unit test

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

* separate the manifests and operations for klusterlet operator

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

* add unit test

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

* add integration test

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

* add e2e test

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

* address code review comments

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

* distinguish the RBAC resource names of managed cluster and management cluster

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

* ensure the klusterlet namespace early

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

* update csv

Signed-off-by: zhujian <jiazhu@redhat.com>
2022-01-04 08:24:14 +01:00
xuezhaojun
c90d98e6da update api dependency (#177)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2021-12-16 16:01:51 +01:00
Qing Hao
f8309d6855 update open-cluster-management.io API (#175)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2021-12-02 13:14:46 +01:00
haoqing0110
34cca64b37 update placement API
Signed-off-by: haoqing0110 <qhao@redhat.com>
2021-09-27 07:41:12 +00:00
Yang Le
9f89842463 create migration requests for clusterset api
Signed-off-by: Yang Le <yangle@redhat.com>
2021-09-22 17:03:13 +08:00
Yang Le
3f8699284b upgrade clusterset version to v1beta1
Signed-off-by: Yang Le <yangle@redhat.com>
2021-09-18 10:03:36 +08:00