Jian Zhu
e6443b6523
Update permission config in addontemplate ( #285 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2023-09-21 22:08:17 -04: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
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 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
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
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
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
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 Qiu
f7cd1402e9
✨ run work and registration as a single binary ( #201 )
...
* run registratin/work together
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Fix integration test and lint issue
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Update operator to deploy singleton mode
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Update deps
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-07-14 04:56:48 +02:00
Jian Qiu
c8ec75096d
Reduce e2e process time ( #210 )
...
for work and addon e2e, we do not need to
restart klusterlet for each case
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-07-06 00:19:50 -04: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 Qiu
9cae24c7fe
Separated hosted klusterlet e2e to separated action ( #206 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-07-03 01:51:46 -04: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
xuezhaojun
c364d34e47
Fix: hard-coded image names in e2e-test. ( #183 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2023-06-13 20:15:40 -04:00
Jian Zhu
d3d648283e
🌱 Configure the golangci lint ( #180 )
...
* 🌱 Configure the golangci lint
Signed-off-by: zhujian <jiazhu@redhat.com >
* 🌱 Fix lint issues
Signed-off-by: zhujian <jiazhu@redhat.com >
---------
Signed-off-by: zhujian <jiazhu@redhat.com >
2023-06-13 03:51:48 -04:00
Jian Zhu
7332a585c0
🌱 add a verify rule for golang files import order ( #177 )
...
* 🌱 add a verify rule for golang files import order
This PR uses the [gci tool](https://github.com/daixiang0/gci ) to make all go files' import section with a specific order, it will organize import with group with order:
1. standard library modules
2. 3rd party modules
3. modules in OCM org, like the `open-cluster-management.io/api`
4. current project `open-cluster-management.io/ocm` modules
developers can use the `make fmt-imports` to format the import automatically and the `make verify-fmt-imports` to check for any violation.
Signed-off-by: zhujian <jiazhu@redhat.com >
* 🌱 format the go files import
Signed-off-by: zhujian <jiazhu@redhat.com >
---------
Signed-off-by: zhujian <jiazhu@redhat.com >
2023-06-12 10:23:04 -04:00
Jian Qiu
62efbf935b
Build common options for agent ( #163 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-06-08 02:55:43 -04:00
Jian Qiu
d21057c831
Fix: webhook e2e left some unhandled clusters ( #164 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-06-05 10:56:43 -04:00
Jian Qiu
2b4eee3f98
Move registration e2e and remove staging ( #159 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-06-02 01:15:32 -04:00
Jian Qiu
384a3f4205
move placement e2e out of staging ( #158 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-06-01 07:46:43 -04:00
Jian Qiu
3db47b7997
Move work e2e out of staging ( #157 )
...
* Move work e2e out of staging
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* some refactor on tester
remove unnecessary field and build a enable feature func
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-06-01 06:18:21 -04:00
Jian Qiu
95aa3b1a06
Move operator e2e ( #156 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-05-31 07:09:42 -04:00