Commit Graph

72 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Lei P
4f8ca8c6e3 Update file name to reflect the change in Makefile (#245)
Signed-off-by: Lei Pan <leipan@ibm.com>
2022-05-13 06:57:33 +00: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
dafd1b5c47 bump csv to 0.8.0 (#226)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2022-03-28 12:35:49 +02: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
Zhiwei Yin
bd3c2bbaa6 fix csv base replace version (#200)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2022-02-08 21:02:17 -05:00
Zhiwei Yin
9332a9dc04 bump csv to 0.7.0 (#195)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2022-01-20 09:27:31 -05:00
xuezhaojun
4fb63d020f add makefile commands for detached cluster manager (#186)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2022-01-14 04:03:58 +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
f456cceff3 update README for running klusterlet in detached mode (#180)
Signed-off-by: zhujian <jiazhu@redhat.com>
2022-01-07 08:49:10 +01:00
xuezhaojun
7b1f044875 support customize cluster manager namespace (#179)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2022-01-06 13:50:37 +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
Zhiwei Yin
b3b727d8d7 bump olm bundle to 0.6.0 (#156)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2021-10-21 07:55:26 +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
Zhiwei Yin
a9128100fa add nodeSelector and tolerations to deployments
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2021-09-08 15:58:01 +08:00
Zhiwei Yin
3002a11a75 release olm bundle v0.4.0
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2021-07-21 14:21:58 +08:00
OpenShift Merge Robot
7add43cf71 Merge pull request #132 from xuezhaojun/fix_clean_deploy_failed
Fixed clean-deploy failed
2021-06-22 08:21:06 -04:00
xuezhaojun
3a879bdd5e Fixed clean-deploy failed
Signed-off-by: xuezhaojun <zxue@redhat.com>
2021-06-22 19:23:05 +08:00
Jian Qiu
1453d66831 Add image push postsubmit
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2021-06-22 14:29:21 +08:00
Jian Qiu
76d6096be8 Change to use kustomize to deploy
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2021-06-18 08:11:12 +08:00
Yang Le
985dcf71cb deploy placement controller
Signed-off-by: Yang Le <yangle@redhat.com>
2021-05-19 12:06:06 +08:00
OpenShift Merge Robot
714ffb79d1 Merge pull request #118 from elgnay/upgrade-clustermanager-crd
upgrade ClusterManager crd to support placement
2021-05-11 23:48:47 -04:00
Yang Le
29e8bf4daf upgrade ClusterManager crd to support placement
Signed-off-by: Yang Le <yangle@redhat.com>
2021-05-12 10:50:02 +08:00
OpenShift Merge Robot
813609193c Merge pull request #116 from imiller0/workload_partitioning_annotations
Add management workload annotations
2021-05-11 14:22:53 -04:00
Ian Miller
893d73c2a5 Add management workload annotations
In support of the workload partitioning feature
(openshift/enhancements#703), we need to add
annotations to all management pods and namespaces so they can be
properly identified and assigned to segregated management cores on
clusters configured to do so.

Signed-off-by: Ian Miller <imiller@redhat.com>
2021-05-10 09:43:03 -04:00
Jian Qiu
35d21457dc Adjust agent replica based on infra api
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2021-05-07 15:06:23 +08:00
Zhiwei Yin
9c4a96ba84 run as non-root
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2021-04-19 21:19:07 +08:00
Zhiwei Yin
4cd18564e8 upgrade CRD to v1 and k8s lib to 1.20.0
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2021-04-12 10:30:10 +08:00
Zhiwei Yin
8cb958d9b5 promote csv version to 0.0.1
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2021-03-05 14:47:38 +08:00
liudangpeng
ac27b2e57e fix image path
Signed-off-by: liudangpeng <liudangpeng@liudangpengdeMacBook-Pro.local>
2020-12-03 10:49:09 +08:00
Zhiwei Yin
28c2843e6e upgrade operator-sdk to v1.1.0
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2020-11-11 15:36:50 +08:00
Zhiwei Yin
a415e2aaf9 upgrade operator-sdk and olm 2020-10-15 22:06:28 +08:00
Zhiwei Yin
73f6dcfb8e delete imagePullPolicy 2020-09-28 17:40:57 +08:00
Jian Qiu
7bdf5a0f07 Update to 1.19.0 and change to use metav1.Condition 2020-09-04 12:09:36 +08:00