Commit Graph

125 Commits

Author SHA1 Message Date
Jian Qiu
8b1a2a0b95 update the addon-framework and getSpechHash algorithm (#371) (#394)
Signed-off-by: haoqing0110 <qhao@redhat.com>
Co-authored-by: Qing Hao <qhao@redhat.com>
2024-04-07 08:14:23 +00:00
Jian Qiu
1c3cb033b0 Bump ocm/api to v0.13.0 (#361)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2024-02-21 08:51:34 +00:00
xuezhao
4d91239a54 Update CRD descriptions. (#360)
Signed-off-by: GitHub <noreply@github.com>
2024-02-19 08:42:38 +00:00
Yang Le
c5e210af0c support configuration of the agent priorityclass (#358)
Signed-off-by: Yang Le <yangle@redhat.com>
2024-02-08 06:23:23 +00:00
Jian Zhu
68a6c1f88b Upgrade addon framework (#359)
Signed-off-by: zhujian <jiazhu@redhat.com>
2024-02-05 04:19:44 +00:00
Wei Liu
98ab144e42 update sdk-go lib (#357)
Signed-off-by: Wei Liu <liuweixa@redhat.com>
2024-01-30 07:00:23 +00:00
Wei Liu
4ab47cf73d update sdk-go to update work clients mqtt topics (#356)
Signed-off-by: Wei Liu <liuweixa@redhat.com>
2024-01-29 08:00:29 +00:00
Jian Qiu
c04ab368de Bump api and addon-framework deps (#354)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2024-01-23 07:40:26 +00:00
Jian Qiu
bede3edd92 Switch to patcher in sdk-go (#349)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2024-01-22 02:04:49 +00:00
Jian Zhu
5d99f4bf50 Check the template type addon status immediately when the cluster status changes (#350)
Signed-off-by: zhujian <jiazhu@redhat.com>
2024-01-22 01:20:48 +00:00
Jian Qiu
01521e3e1e Bump to kube-0.29.0 (#348)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2024-01-18 08:14:32 +00:00
Zhiwei Yin
8bd99799e4 configure QPS and Burst for the flags of klusterlet agents (#344)
Signed-off-by: Zhiwei Yin <zyin@redhat.com>
2024-01-18 01:35:58 +00:00
Jian Qiu
1d42f4285e Switch to sdk-go for helper functions (#346)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2024-01-17 14:28:54 +00:00
Jian Qiu
976019dd43 🐛 Requeue for rolling strategy in mwrs (#337)
* Requeue for rolling strategy in mwrs

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

* Add more integration test for rolling

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

---------

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2024-01-04 09:55:20 +00:00
Jian Zhu
3d40e076ef Bump addon framework to the latest version (#339)
Signed-off-by: zhujian <jiazhu@redhat.com>
2024-01-03 01:44:25 +00:00
xuezhaojun
9dc8f104cf Update api dependencies and handle deprecated code. (#333)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-12-20 10:21:48 +00:00
Wei Liu
d2324b8581 supporting cloudevents for work agent (#321)
Signed-off-by: Wei Liu <liuweixa@redhat.com>
2023-12-07 05:16:59 +00:00
haowells
8a4c834ebf klusterlet cr add flag to use best effort resources (#317)
* klusterlet cr add flag to use besteffort resources

Signed-off-by: haolin <haowells@gmail.com>

* rename resource type to resource requirements

Signed-off-by: haolin <haowells@gmail.com>

* update api to latest version

Signed-off-by: haolin <haowells@gmail.com>

* fix typo of ResourceRequirements

Signed-off-by: haolin <haowells@gmail.com>

---------

Signed-off-by: haolin <haowells@gmail.com>
Co-authored-by: haolin <haolin@ebay.com>
2023-11-27 09:49:44 +00:00
Jian Zhu
6571a8a4d9 Support setting manifest work config by addon template (#308)
*  Support setting manifest work config by addon template

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

* add unit tests

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

---------

Signed-off-by: zhujian <jiazhu@redhat.com>
2023-11-20 14:09:38 +00:00
Mohamed ElSerngawy
615f5a4441 Update OCM APIs and apply Rollout strategy API changes (#310)
Signed-off-by: melserngawy <melserng@redhat.com>
2023-11-16 02:36:16 +00:00
Yang Le
0f7da4a9bb 🐛 upgrade addondeploymentconfigs to include proxy ca bundle (#299)
Signed-off-by: Yang Le <yangle@redhat.com>
2023-10-27 06:50:33 +00:00
Qing Hao
2f4ff9f424 🌱 add metrics for placement (#297)
* add metrics for placement

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

* record plugin metrics in schedule()

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

* add plugin type

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

---------

Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-10-26 06:44:59 +00:00
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
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
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
e6443b6523 Update permission config in addontemplate (#285)
Signed-off-by: zhujian <jiazhu@redhat.com>
2023-09-21 22:08:17 -04:00
Qing Hao
c8410bfbf1 addon consume rollout helpers (#225)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-09-20 04:17:48 +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
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
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
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
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
xuezhaojun
142fd5b247 Add ClusterAnnotations support. (#234)
Signed-off-by: xuezhaojun <zxue@redhat.com>
2023-07-27 04:31:25 +02:00
Qing Hao
5c03624912 divide pre-defined decision groups by length (#227)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-07-21 10:34:21 +02:00
Jian Zhu
9ff0948184 enable addon management feature gate by default (#222)
Signed-off-by: zhujian <jiazhu@redhat.com>
2023-07-14 09:45:35 +02:00
Jian Zhu
21ee8d4c88 use DeploymentAvailability to check addon health (#212)
Signed-off-by: zhujian <jiazhu@redhat.com>
2023-07-05 10:25:55 -04:00
Jian Zhu
40bc557c47 🐛 make the custom sign ca secret namespace fixed (#205)
* update vendor ocm api

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

* make the custom sign ca secret name fixed

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

* make the custom sign ca secret namespace fixed

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

* format go import for test files

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

* update vendor ocm api

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

---------

Signed-off-by: zhujian <jiazhu@redhat.com>
2023-07-04 00:01:23 -04:00
Jian Zhu
a78d9f457d 🌱 Move addon manager from addon-framework to ocm repo (#196)
* update vendor to add addon-framework

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

* Move addon manager from addon-framework to ocm repo

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

* add integration tests for addon manager

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

* push addon manager image post commit

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

* use library-go to refactor addon controllers

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

---------

Signed-off-by: zhujian <jiazhu@redhat.com>
2023-06-27 03:59:54 +02:00
Jian Zhu
023cdfd0c3 🌱 Update api to install addon template CRD (#170)
Signed-off-by: zhujian <jiazhu@redhat.com>
2023-06-14 02:26:35 -04:00
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