Commit Graph

1370 Commits

Author SHA1 Message Date
Zhiwei Yin
f003ed38a5 refactor gc controller (#229)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-10-23 07:05:35 +00:00
Yang Le
9aaa1327fa 🐛 move the rebootstrap logic to registration agent (#267)
Signed-off-by: Yang Le <yangle@redhat.com>
2023-10-18 09:58:06 +00:00
Zhiwei Yin
5903140f38 bump csv to 0.13.0 (#290)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-10-10 02:17:24 +00:00
Qing Hao
495e4cb7b7 upgrade addon rollout library (#288)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-10-09 07:00:56 +00:00
Jian Qiu
b88a0e9210 Fix release image manifest error (#289)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
v0.12.0
2023-10-08 07:36:12 +00:00
Jian Qiu
80d4daacc4 Upgrade addon-framework library to 0.8.0 (#287)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-10-07 02:40:02 +00:00
Jian Qiu
5405099cb5 Upgrade api to v0.12.0 (#286)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-09-25 11:43:39 -04:00
Jian Zhu
75db27dd61 set work agent status-sync-interval when the replica is 1 (#282)
Signed-off-by: zhujian <jiazhu@redhat.com>
2023-09-24 22:21:37 -04:00
Jian Zhu
e6443b6523 Update permission config in addontemplate (#285)
Signed-off-by: zhujian <jiazhu@redhat.com>
2023-09-21 22:08:17 -04:00
Zhiwei Yin
769272cbec fix failed update roleRef in clusterrolebinding in upgrade case (#284)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-09-20 23:16:06 -04:00
Jian Qiu
fe9ecd7011 Add release action (#283)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-09-20 08:53:27 +02:00
Qing Hao
c8410bfbf1 addon consume rollout helpers (#225)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-09-20 04:17:48 +02:00
Zhiwei Yin
b6f535f6d1 fix work sa name in old kube cluster (#281)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-09-18 11:55:16 +02:00
Jian Qiu
bd4982fffc Fix: change singleton agent sa to work sa (#279)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-09-15 10:01:14 +02:00
Jian Zhu
fda6514ba6 delete klusterlet if the managed cluster refused the connection (#278)
Signed-off-by: zhujian <jiazhu@redhat.com>
2023-09-14 05:05:34 +02:00
Zhiwei Yin
301ef236c3 add POD_NAME for event refobject (#276)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-09-14 04:52:34 +02:00
Jian Zhu
90c1dcb5bc set agent install namespace from addon deployment config for template type addons (#266)
Signed-off-by: zhujian <jiazhu@redhat.com>
2023-09-12 09:42:06 +02:00
Yang Le
1f51d8c6bc 🐛 fix the AlreadyExists logic case if the manifest is not cached by Getter when applying a manifest (#275)
Signed-off-by: Yang Le <yangle@redhat.com>
2023-09-11 11:47:48 +02:00
Jian Qiu
d5e10c664d remove deps to k8s.io/kubernetes (#274)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-09-11 10:32:36 +02:00
Dale Haiducek
3fc013f921 Match registration image exactly (#273)
Since the registration image string is a substring of the
registration-operator image, it wasn't being updated correctly.

Signed-off-by: Dale Haiducek <19750917+dhaiducek@users.noreply.github.com>
2023-09-11 03:17:12 +02:00
Morven Cao
1a4948044c update istio version. (#272)
Signed-off-by: morvencao <lcao@redhat.com>
2023-09-08 15:05:56 +02:00
Jian Zhu
e0d1ad384c bump golangci-lint to v1.54.2 (#270)
Signed-off-by: zhujian <jiazhu@redhat.com>
2023-09-07 15:55:12 +02:00
Jian Qiu
404680d302 support singleton in hosted mode (#258)
* delete old agent when switch to singleton mode

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

* run singleton hosted mode

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

* Sync sa on spoke as external-agent-kubeconfig

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

---------

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-09-07 03:33:17 +02:00
Yang Le
7adf6ee1bc 🐛 correct the agent deployment name in different install mode (#265)
Signed-off-by: Yang Le <yangle@redhat.com>
2023-09-05 05:34:36 +02:00
Qing Hao
31f9059fb9 fix make verify error (#264)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-09-05 03:53:41 +02:00
Jian Qiu
e297899a3c Remove old agent when upgrade to singleton (#263)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-09-04 11:07:38 +02:00
Jian Qiu
0f16de9f7d move patch routine to copy crd (#261)
This can avoid redudant file generated in _output

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-09-04 10:27:07 +02:00
Zhiwei Yin
8b4abc7459 update pod securitycontext and upgrade operator sdk version (#262)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-09-04 07:00:26 +02:00
Yang Le
ac142e6478 support proxy between hub cluster and managed cluster (#260)
Signed-off-by: Yang Le <yangle@redhat.com>
2023-09-01 05:52:58 +02:00
Qing Hao
c625fd317a 🌱 remove ClusterSet ClusterSetBinding API version v1beta1 (#257)
* update api

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

* remove webhook

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

* remove migration files

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

* update api

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

* add ut for migrationRequestFiles

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

---------

Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-08-31 16:14:11 +02:00
Nitish Chauhan
36e389cc07 adding contextual logging in placement component (#254)
Signed-off-by: ntishchauhan0022 <nitishchauhan0022@gmail.com>
2023-08-24 21:19:17 -04:00
Nitish Chauhan
9dd935b525 adding contextual logging in addon pkg (#255)
Signed-off-by: ntishchauhan0022 <nitishchauhan0022@gmail.com>
2023-08-24 04:29:59 -04:00
Qing Hao
a2b3c6d54c revert placement decision start index from 1 to keep backward compatibility (#253)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-08-23 03:45:27 -02:30
Zhiwei Yin
4227c8f68c Revert "Fix PodSecurity Warnings (#250)" (#252)
This reverts commit ecc541d186.

Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-08-21 00:58:12 -02:30
Jian Qiu
88f6f4dd17 Refactor code to start managers with shared informers (#232)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-08-21 00:03:58 -02:30
Zhiwei Yin
ecc541d186 Fix PodSecurity Warnings (#250)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2023-08-17 06:00:46 -02:30
Yang Le
f444b340c8 🐛 add wlp annotation if necessary (#248)
Signed-off-by: Yang Le <yangle@redhat.com>
2023-08-16 22:55:27 -02:30
Yang Le
8b351747c8 🐛 set tls min version to 1.2 (#245)
Signed-off-by: Yang Le <yangle@redhat.com>
2023-08-15 06:34:56 -02:30
Yang Le
fb6ce75eae 🐛 skip sync of appliedmanifestwork if work is not applied yet (#244)
Signed-off-by: Yang Le <yangle@redhat.com>
2023-08-15 02:36:15 -02:30
Yang Le
8080e5dc3b 🐛 fix the rebootstrap issue (#249)
Signed-off-by: Yang Le <yangle@redhat.com>
2023-08-14 23:07:33 -02:30
Nitish Chauhan
6e0937e4d0 🌱 adding contextual logging in registration component (#220)
* contextual logging for registration component

Signed-off-by: ntishchauhan0022 <nitishchauhan0022@gmail.com>

* removing logger from convertTo & convertFrom

Signed-off-by: ntishchauhan0022 <nitishchauhan0022@gmail.com>

---------

Signed-off-by: ntishchauhan0022 <nitishchauhan0022@gmail.com>
2023-08-14 23:04:55 -02:30
Jian Qiu
3167826df9 Use finalizer in api repo (#241)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-08-04 11:54:55 +02:00
Yang Le
6d6a6f1d74 🌱 upgrade addondeploymentconfigs crd to latest version (#243)
Signed-off-by: Yang Le <yangle@redhat.com>
2023-08-03 09:56:39 +02:00
Jian Zhu
a9dae607f6 Support override addon images by the cluster's annotation (#231)
*  Support override addon images by the cluster's annotation

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

* Add tests for addon image override

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

* upgrade ocm api

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

* refactor integration tests

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

* Upgrade addon framework to watch cluster when deploy addon agent

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

---------

Signed-off-by: zhujian <jiazhu@redhat.com>
2023-08-03 08:57:05 +02:00
Wei Liu
720ae29b27 ignore the manifest uid (#242)
Signed-off-by: Wei Liu <liuweixa@redhat.com>
2023-08-01 11:53:10 +02:00
Jian Qiu
fb347bd08e Use apply instead of patch in ssa (#240)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-08-01 10:35:49 +02:00
xuezhaojun
142fd5b247 Add ClusterAnnotations support. (#234)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-07-27 04:31:25 +02:00
xuezhaojun
70d61123a6 Add update-csv when make update (#238)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-07-27 03:03:16 +02:00
Qing Hao
4f3749970e fix the placement decision clusters have random order issue (#235)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-07-27 03:00:42 +02:00
Jian Qiu
e810520961 🌱 Refactor code to fix lint warning (#218)
* Refactor code to fix lint warning

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

* enable lint for testing files

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

---------

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-07-25 07:12:34 +02:00