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
Jian Qiu
e22faa4545
🌱 Build a commonoption for all managers ( #228 )
...
* Build a commonoption for all managers
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Add unit tests
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-07-25 03:12:35 +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
8d974c2df8
🐛 Failed to sync sa work-controller-sa in cluster manger hosted mode ( #223 )
...
* Failed to sync sa work-controller-sa in cluster manger hosted mode
Signed-off-by: zhujian <jiazhu@redhat.com >
* add secret addon-manager-controller-sa-kubeconfig getting permission
Signed-off-by: zhujian <jiazhu@redhat.com >
* add tests for hosted mode work controller
Signed-off-by: zhujian <jiazhu@redhat.com >
---------
Signed-off-by: zhujian <jiazhu@redhat.com >
2023-07-17 04:45:48 +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
xuezhaojun
817aa624bd
Update stable messages and days-before. ( #221 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2023-07-14 05:23:09 +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
xuezhaojun
41f430b077
Add stable check for issues and PRs. ( #219 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2023-07-13 17:18:28 +02:00
Qing Hao
320098e78a
update placement integration testing code with patcher ( #217 )
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
2023-07-12 05:44:44 -04:00
Jian Zhu
5db224052b
🐛 remove klusterlet finalizer forcely ( #214 )
...
* remove klusterlet finalizer forcely
Signed-off-by: zhujian <jiazhu@redhat.com >
* add patch options for patcher
Signed-off-by: zhujian <jiazhu@redhat.com >
* add patch options for all patcher funcs
Signed-off-by: zhujian <jiazhu@redhat.com >
---------
Signed-off-by: zhujian <jiazhu@redhat.com >
2023-07-11 02:45:17 -04:00
Qing Hao
66498342dd
🌱 placement support decision groups ( #200 )
...
* placement support decision groups
Signed-off-by: haoqing0110 <qhao@redhat.com >
* update decision generation flow
Signed-off-by: haoqing0110 <qhao@redhat.com >
* fix label update issue
Signed-off-by: haoqing0110 <qhao@redhat.com >
* update decision group logic
Signed-off-by: haoqing0110 <qhao@redhat.com >
* update placement and decision with patcher
Signed-off-by: haoqing0110 <qhao@redhat.com >
* modify code based on review comments
Signed-off-by: haoqing0110 <qhao@redhat.com >
---------
Signed-off-by: haoqing0110 <qhao@redhat.com >
2023-07-10 09:46:23 -04:00
Mike Ng
3ff63d9184
Update OWNERS file post code consolidation ( #215 )
...
Signed-off-by: Mike Ng <ming@redhat.com >
2023-07-07 00:31:29 -04: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 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 Qiu
8c92c70e6d
Being able to match multiple items in jsonpath ( #202 )
...
This allows a jsonpatch to match multiple items and
returns a list with jsonraw
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-07-05 04:32:52 -04:00
Zhiwei Yin
0adc7664ae
refactor rbacfinalizercontroller to fix cluster ns is terminating after delete clustermanager ( #211 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2023-07-04 21:33:41 -04:00
xuezhaojun
eb9b7fac80
Add: trigger clusteradm e2e after post images. ( #209 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
v0.11.0
2023-07-04 02:22:40 -04:00
Qing Hao
fe550ebe63
add subjectaccessreviews permission for placement ( #208 )
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
2023-07-04 01:43:34 -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
Yang Le
1a526be0cc
🌱 increase the default work eviction grace period to 60 minutes ( #203 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2023-07-02 23:03:24 -04:00
Qing Hao
de2b7d35be
generalize cluster selector method ( #204 )
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
2023-06-29 15:11:56 +02: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
Jian Qiu
4ae644879a
🌱 Refactor cluster permission ( #193 )
...
* User lister in permission apply for cluster
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Reduce get call in registration
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-06-26 11:31:40 +02:00
Jian Qiu
e344e26a5e
Use patcher in work ( #190 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-06-21 05:38:59 +02:00
Mike Ng
6c4dbb90fa
doc fix: ArgoCD pull solution doc should render on browser folder entry ( #192 )
...
Signed-off-by: Mike Ng <ming@redhat.com >
2023-06-21 02:57:18 +02:00
Zhiwei Yin
adda690bd6
filter secret informer to reduce cache size ( #185 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2023-06-19 05:12:13 -04:00
Jian Qiu
53890594c3
🌱 Use patcher in operator to replace previous update ( #181 )
...
* Use patcher in operator to replace previous update
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Fix test error
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Fix permission in csv
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-06-18 20:43:36 -04:00
Wei Liu
946e22eaa9
waiting the approved csr if it is not found in integration test ( #188 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2023-06-16 02:29:42 -04:00
Wei Liu
ecfb6c0888
merge the cluster capacity ( #184 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2023-06-14 11:03:43 -04: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
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 Qiu
db3b6fdb20
Add owner file for sub project ( #182 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-06-13 05:21:07 -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
Wei Liu
b55881d6d2
expose the spoke informers ( #179 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2023-06-12 23:10:15 -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
3c9bfea949
🌱 Add a common patcher and adopt it in registration ( #178 )
...
* Add a common patcher and adopt it in registration
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Add patcher test
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-06-12 02:40:09 -04:00
xuezhaojun
6d4c48822c
Add: upload coverge again when push commit. ( #175 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2023-06-08 04:27:10 -04:00
Wei Liu
87d152e115
add more debug info for autoapprove test ( #172 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2023-06-08 04:05:28 -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
Wei Liu
9258cc91e4
increase waiting time for lease update goroutine ( #174 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2023-06-08 02:47:58 -04:00