Jian Qiu
8c1d286b11
✨ Refactor registration ( #535 )
...
* Refactor registration
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Fix integration test
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Refactor cert controller to secret controller
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Update health check func
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-07-17 14:14:11 +00:00
Ohki Nozomu
1227b71043
Fix typo: Rename 'CommoOpts' to 'CommonOpts' ( #523 )
...
Signed-off-by: ohkinozomu <nozomunoise@gmail.com >
2024-06-17 02:21:10 +00:00
xuezhao
0357cb99e1
Registration-agent supports multiple bootstrapkubeconfigs and switch-hub. ( #443 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2024-06-04 13:46:39 +00:00
Jian Zhu
66d4e782ec
🐛 Regenerate the hub kubeconfig secret if the cluster name of the current context changes ( #473 )
...
* Regenerate the hub kubeconfig secret if the cluster name of the current context changes
Signed-off-by: zhujian <jiazhu@redhat.com >
* Add an integration test
Signed-off-by: zhujian <jiazhu@redhat.com >
---------
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-05-23 14:31:09 +00:00
Jian Zhu
c749b42ca0
✨ Send available condition events for managed cluster ( #450 )
...
* Send available condition events for managed cluster
Signed-off-by: zhujian <jiazhu@redhat.com >
* Send available condition events for managed cluster
Signed-off-by: zhujian <jiazhu@redhat.com >
* Rename event reporting component
Signed-off-by: zhujian <jiazhu@redhat.com >
---------
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-05-06 07:00:36 +00:00
Jian Qiu
3a2250d974
Refactor NewUnstructured method ( #418 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-04-11 12:01:07 +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
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 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
Mohamed ElSerngawy
35680c3ca3
✨ Implement ManifestWorkReplicaSet RollOut strategy ( #259 )
...
* Implement rollout strategy
Signed-off-by: melserngawy <melserng@redhat.com >
* Update API and new logic
Signed-off-by: melserngawy <melserng@redhat.com >
---------
Signed-off-by: melserngawy <melserng@redhat.com >
2023-11-02 03:08: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
c8410bfbf1
addon consume rollout helpers ( #225 )
...
Signed-off-by: haoqing0110 <qhao@redhat.com >
2023-09-20 04:17:48 +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
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
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
xuezhaojun
142fd5b247
Add ClusterAnnotations support. ( #234 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2023-07-27 04:31:25 +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
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 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
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 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
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
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
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
72d87a2ea5
Refactor testing ( #161 )
...
* Move common testing fixture to a common location
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Add common pkg
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2023-06-04 22:47:08 -04:00