Zhiwei Yin
148b635f1c
refactor cluster kubeapiserver health check with failure threshold. ( #1473 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2026-04-20 11:25:36 +00:00
Jian Qiu
33310619d9
🌱 use SDK basecontroller for better logging. ( #1269 )
...
* Use basecontroller in sdk-go instead for better logging
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Rename to fakeSyncContext
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2025-12-01 03:07:02 +00:00
Jian Qiu
eb033993c2
🌱 Use base controller in sdk-go ( #1251 )
...
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1m11s
Post / coverage (push) Failing after 37m30s
Post / images (amd64, addon-manager) (push) Failing after 7m29s
Post / images (amd64, placement) (push) Failing after 6m57s
Post / images (amd64, registration) (push) Failing after 7m5s
Post / images (amd64, registration-operator) (push) Failing after 7m5s
Post / images (amd64, work) (push) Failing after 7m2s
Post / images (arm64, addon-manager) (push) Failing after 7m18s
Post / images (arm64, placement) (push) Failing after 7m7s
Post / images (arm64, registration) (push) Failing after 7m13s
Post / images (arm64, registration-operator) (push) Failing after 7m6s
Post / images (arm64, work) (push) Failing after 7m2s
Post / image manifest (addon-manager) (push) Has been skipped
Post / image manifest (placement) (push) Has been skipped
Post / image manifest (registration) (push) Has been skipped
Post / image manifest (registration-operator) (push) Has been skipped
Post / image manifest (work) (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 45s
* Use base controller in sdk-go
We can leverage contextual logger in base controller.
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Fix integration test error
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2025-11-20 07:53:42 +00:00
Yang Le
db92ed79d4
✨ support managed namespaces ( #1193 )
...
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1m6s
Post / coverage (push) Failing after 30s
Post / images (amd64, addon-manager) (push) Failing after 19s
Post / images (amd64, placement) (push) Failing after 24s
Post / images (amd64, registration) (push) Failing after 18s
Post / images (amd64, registration-operator) (push) Failing after 14s
Post / images (amd64, work) (push) Failing after 14s
Post / images (arm64, addon-manager) (push) Failing after 22s
Post / images (arm64, placement) (push) Failing after 16s
Post / images (arm64, registration) (push) Failing after 21s
Post / images (arm64, registration-operator) (push) Failing after 16s
Post / images (arm64, work) (push) Failing after 17s
Post / image manifest (addon-manager) (push) Has been skipped
Post / image manifest (placement) (push) Has been skipped
Post / image manifest (registration) (push) Has been skipped
Post / image manifest (registration-operator) (push) Has been skipped
Post / image manifest (work) (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Close stale issues and PRs / stale (push) Failing after 45s
Signed-off-by: Yang Le <yangle@redhat.com >
2025-09-25 08:19:30 +00:00
Jian Qiu and gnana997
8faa1b2327
✨ Added support for about-api for cluster properties ( #1006 )
...
Post / coverage (push) Failing after 33m23s
Post / images (amd64) (push) Failing after 8m28s
Post / images (arm64) (push) Failing after 7m59s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1m20s
Close stale issues and PRs / stale (push) Successful in 57s
* Added support for about-api for cluster properties
Signed-off-by: gnana997 <gnana097@gmail.com >
* refactored failing registration test cases
Signed-off-by: gnana997 <gnana097@gmail.com >
* Added new fake classes and test cases
Signed-off-by: gnana997 <gnana097@gmail.com >
* Refactored test cases and vendors
Signed-off-by: gnana997 <gnana097@gmail.com >
* updated the open-cluster api package and updated cluster property
Signed-off-by: gnana997 <gnana097@gmail.com >
* Refactored the pr with just registration details and crds
Signed-off-by: gnana997 <gnana097@gmail.com >
* Fix fake client
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Add integration test for clusterproperty
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: gnana997 <gnana097@gmail.com >
Signed-off-by: Jian Qiu <jqiu@redhat.com >
Co-authored-by: gnana997 <gnana097@gmail.com >
2025-06-04 09:17:55 +00:00
Jian Zhu and Omar Farag
4cbb12d5a2
✨ add support for custom ClusterClaim configuration ( #1004 )
...
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1m14s
Post / coverage (push) Failing after 26m54s
Post / images (amd64) (push) Failing after 3m38s
Post / images (arm64) (push) Failing after 3m13s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 37s
* vendor api
Signed-off-by: Omar Farag <omarfarag74@gmail.com >
* add support for maxCustomClusterClaim
Signed-off-by: Omar Farag <omarfarag74@gmail.com >
* support ReservedClusterClaimSuffixes
Signed-off-by: Omar Farag <omarfarag74@gmail.com >
* add and use klusterletinformer
Signed-off-by: Omar Farag <omarfarag74@gmail.com >
* fix tests
Signed-off-by: Omar Farag <omarfarag74@gmail.com >
* update for change in clusterclaimconfiguration api
Signed-off-by: Omar Farag <omarfarag74@gmail.com >
* requested changes, clean up
Signed-off-by: Omar Farag <omarfarag74@gmail.com >
* Use flag to pass the reservedClusterClaimSuffixes
Signed-off-by: zhujian <jiazhu@redhat.com >
* Add cluster claim tests
Signed-off-by: zhujian <jiazhu@redhat.com >
* use StringSliceVar to parse the reserved cluster claim suffixes flag
Signed-off-by: zhujian <jiazhu@redhat.com >
* fix rebase issues
Signed-off-by: zhujian <jiazhu@redhat.com >
* address code review comments
Signed-off-by: zhujian <jiazhu@redhat.com >
---------
Signed-off-by: Omar Farag <omarfarag74@gmail.com >
Signed-off-by: zhujian <jiazhu@redhat.com >
Co-authored-by: Omar Farag <omarfarag74@gmail.com >
2025-05-27 12:09:41 +00:00
Ankit Kurmi
cd8827572e
feat: updated golang to v1.23.6 and related k8s.io packages ( #870 )
...
Signed-off-by: Ankit152 <ankitkurmi152@gmail.com >
2025-04-09 07:46:27 +00:00
Jian Qiu
241a3eaaa3
Reduce client scope built from driver ( #915 )
...
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1m1s
Post / coverage (push) Failing after 22m36s
Post / images (amd64) (push) Failing after 13m6s
Post / images (arm64) (push) Failing after 2m21s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 13s
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2025-03-27 09:44:13 +00:00
xuezhao
8737358919
Agents stop update managedcluster status when clock is out of sync. ( #770 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2024-12-23 01:34:33 +00:00
Jian Zhu
ea839f1369
🐛 Check if template is nil when getting the addon agent registration namespace ( #500 )
...
* Check if template is nil when getting the addon agent registration namespace
Signed-off-by: zhujian <jiazhu@redhat.com >
* Fix typo
Signed-off-by: zhujian <jiazhu@redhat.com >
---------
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-06-05 13:43:44 +00:00
Jian Zhu
3ac9655565
Refine the cluster available event messages ( #496 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-06-05 07:46:02 +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
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
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
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
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
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
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
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
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
xuezhaojun
ad38b9465f
Relocate pkgs. ( #146 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2023-05-29 07:20:55 -04:00