Commit Graph

23 Commits

Author SHA1 Message Date
Qing Hao
b4bf3d0609 update the addon-framework and getSpechHash algorithm (#371)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2024-03-12 07:46:27 +00:00
Jian Qiu
6cfce8ce24 Revert apply func (#353)
this part dep on library-go so remove from
sdk-go

Signed-off-by: Jian Qiu <jqiu@redhat.com>
2024-01-22 03:46:46 +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
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
Qing Hao
40135fd4ba addon support rollout configs (#340)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2024-01-08 05:49:06 +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
Qing Hao
495e4cb7b7 upgrade addon rollout library (#288)
Signed-off-by: haoqing0110 <qhao@redhat.com>
2023-10-09 07:00:56 +00: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
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
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
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
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
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 Qiu
d93268bb12 Add owner for addon manager component (#213)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-07-05 05:22:07 -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 Qiu
e4792e4b83 Refactor to use common queue/filter funcs (#197)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-06-28 15:59:19 +02:00
Jian Zhu
9450d14759 🌱 add e2e tests for addon manager (#199)
* add e2e tests for addon manager

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

* test image override and node placement for addon manager

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

---------

Signed-off-by: zhujian <jiazhu@redhat.com>
2023-06-28 15:45:43 +02:00
Jian Qiu
987d7c7c2a Use patcher in addon manager code (#198)
Signed-off-by: Jian Qiu <jqiu@redhat.com>
2023-06-27 12:08:15 +02: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