Jian Qiu
27d0adfbf3
Move addon manager's API to v1beta1 ( #1511 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2026-05-07 14:39:58 +00:00
Jian Qiu
1bbfd69408
Fix flaky clustermanager integration test ( #1493 )
...
Signed-off-by: Jian Qiu <gothicqiujian@gmail.com >
2026-04-21 13:41:49 +00:00
Jian Qiu
9e70cc1e21
Match the exact cluster name for csr renewal ( #1476 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2026-04-08 02:50:14 +00:00
Jian Qiu
c367622060
🌱 Move addon api to beta in registration ( #1438 )
...
* Move addon api to beta in registration
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Update conversion e2e tests
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Add addon v1beta1 to supported type in grpc
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Fix flaky e2e in addon conversion
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Set subject for registration configuration when it is not set
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2026-03-23 13:31:55 +00:00
Wei Liu
7bf9a4a919
only check the hub kubeconfig secret ( #1360 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2026-01-29 06:51:51 +00:00
Morven Cao and Claude
d1221c4a79
🌱 sync clusterprofile based on managedclusterset and managedclustersetbinding ( #1351 )
...
Scorecard supply-chain security / Scorecard analysis (push) Failing after 25s
Post / images (amd64, placement) (push) Failing after 47s
Post / images (amd64, registration) (push) Failing after 44s
Post / images (amd64, registration-operator) (push) Failing after 44s
Post / images (amd64, work) (push) Failing after 43s
Post / images (arm64, addon-manager) (push) Failing after 42s
Post / images (arm64, placement) (push) Failing after 41s
Post / images (arm64, registration) (push) Failing after 43s
Post / images (arm64, registration-operator) (push) Failing after 41s
Post / images (arm64, work) (push) Failing after 41s
Post / images (amd64, addon-manager) (push) Failing after 7m45s
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
Post / coverage (push) Failing after 38m55s
Close stale issues and PRs / stale (push) Successful in 50s
* sync clusterprofile based on managedclusterset and managedclustersetbinding
Co-authored-by: Claude <claude@anthropic.com >
Signed-off-by: Morven Cao <lcao@redhat.com >
* Refactor ClusterProfile controller into two separate controllers.
Signed-off-by: Morven Cao <lcao@redhat.com >
* address comments.
Signed-off-by: Morven Cao <lcao@redhat.com >
* fix lint issues.
Signed-off-by: Morven Cao <lcao@redhat.com >
* address comments.
Signed-off-by: Morven Cao <lcao@redhat.com >
* address comments.
Signed-off-by: Morven Cao <lcao@redhat.com >
---------
Signed-off-by: Morven Cao <lcao@redhat.com >
2026-01-28 15:37:46 +00:00
Yang Le
9d1a993e2c
✨ add token driver for addon registration ( #1343 )
...
Post / images (amd64, placement) (push) Failing after 50s
Post / images (amd64, registration) (push) Failing after 41s
Post / images (amd64, registration-operator) (push) Failing after 40s
Post / images (amd64, work) (push) Failing after 44s
Post / images (arm64, addon-manager) (push) Failing after 41s
Post / images (arm64, placement) (push) Failing after 42s
Post / images (arm64, registration) (push) Failing after 41s
Post / images (amd64, addon-manager) (push) Failing after 5m29s
Post / images (arm64, registration-operator) (push) Failing after 43s
Post / images (arm64, work) (push) Failing after 5m35s
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
Post / coverage (push) Failing after 40m4s
Scorecard supply-chain security / Scorecard analysis (push) Failing after 4m1s
Signed-off-by: Yang Le <yangle@redhat.com >
2026-01-28 05:41:52 +00:00
Jian Qiu
9b010ef622
🌱 build object reader to get resource object from spoke ( #1324 )
...
Post / images (amd64, addon-manager) (push) Failing after 51s
Post / images (amd64, placement) (push) Failing after 46s
Post / images (amd64, registration) (push) Failing after 43s
Post / images (amd64, registration-operator) (push) Failing after 44s
Post / images (amd64, work) (push) Failing after 44s
Post / images (arm64, addon-manager) (push) Failing after 43s
Post / images (arm64, placement) (push) Failing after 43s
Post / images (arm64, registration) (push) Failing after 42s
Post / images (arm64, registration-operator) (push) Failing after 43s
Post / images (arm64, work) (push) Failing after 41s
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
Scorecard supply-chain security / Scorecard analysis (push) Failing after 8m56s
Post / coverage (push) Failing after 13m3s
Close stale issues and PRs / stale (push) Successful in 42s
* A resource informer code to watch resources
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Use object reader in controller
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2026-01-23 07:32:13 +00:00
Wei Liu
d5e677414c
add options to grpc broker ( #1326 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2026-01-12 12:50:14 +00:00
Érico GR
ad89f05351
🐛 Fix work rolebinding cleanup when hubAcceptsClient is set to false ( #1318 )
...
Scorecard supply-chain security / Scorecard analysis (push) Failing after 13s
Post / images (amd64, addon-manager) (push) Failing after 48s
Post / images (amd64, placement) (push) Failing after 1m22s
Post / images (amd64, registration) (push) Failing after 42s
Post / images (amd64, work) (push) Failing after 41s
Post / images (arm64, addon-manager) (push) Failing after 42s
Post / images (arm64, placement) (push) Failing after 41s
Post / images (arm64, registration) (push) Failing after 41s
Post / images (arm64, registration-operator) (push) Failing after 41s
Post / images (arm64, work) (push) Failing after 42s
Post / images (amd64, registration-operator) (push) Failing after 21m14s
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
Post / coverage (push) Failing after 39m11s
Close stale issues and PRs / stale (push) Successful in 50s
* Fix work rolebinding cleanup when hubAcceptsClient is set to false
Signed-off-by: Erico G. Rimoli <erico.rimoli@totvs.com.br >
* Adds error handling to the removeClusterRbac call within the controller synchronization function
Signed-off-by: Erico G. Rimoli <erico.rimoli@totvs.com.br >
2026-01-08 13:46:13 +00:00
Jian Qiu and Claude Sonnet 4.5
78daf0d2ae
fix: skip GC for ManifestWorks managed by ManifestWorkReplicaSet ( #1299 )
...
Skip garbage collection for ManifestWorks that have the
ManifestWorkReplicaSet controller label, as these should be
managed exclusively by the ManifestWorkReplicaSet controller.
Changes:
- Fix logic bug in controller to properly check for ReplicaSet label
- Add unit tests for label-based GC skip behavior
- Add integration test to verify GC skip for ReplicaSet-managed works
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Signed-off-by: Jian Qiu <jqiu@redhat.com >
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com >
2025-12-16 08:56:07 +00:00
Jian Qiu
99265f6113
Refactor to contextual logging ( #1283 )
...
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1m25s
Post / coverage (push) Failing after 36m59s
Post / images (amd64, addon-manager) (push) Failing after 7m34s
Post / images (amd64, placement) (push) Failing after 7m4s
Post / images (amd64, registration) (push) Failing after 7m8s
Post / images (amd64, registration-operator) (push) Failing after 7m3s
Post / images (amd64, work) (push) Failing after 6m59s
Post / images (arm64, addon-manager) (push) Failing after 7m0s
Post / images (arm64, placement) (push) Failing after 6m54s
Post / images (arm64, registration) (push) Failing after 6m55s
Post / images (arm64, registration-operator) (push) Failing after 6m55s
Post / images (arm64, work) (push) Failing after 7m16s
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
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2025-12-08 08:14:30 +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
Wei Liu
b928d9f2a9
update sdk-go ( #1257 )
...
Post / coverage (push) Failing after 38m23s
Post / images (amd64, addon-manager) (push) Failing after 7m53s
Post / images (amd64, placement) (push) Failing after 6m57s
Post / images (amd64, registration) (push) Failing after 7m7s
Post / images (amd64, registration-operator) (push) Failing after 7m1s
Post / images (amd64, work) (push) Failing after 7m8s
Post / images (arm64, addon-manager) (push) Failing after 7m10s
Post / images (arm64, placement) (push) Failing after 7m11s
Post / images (arm64, registration) (push) Failing after 6m58s
Post / images (arm64, registration-operator) (push) Failing after 7m17s
Post / images (arm64, work) (push) Failing after 7m18s
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
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1m15s
Close stale issues and PRs / stale (push) Successful in 41s
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2025-11-19 04:08:16 +00:00
Zhiwei Yin
dab97728e2
support cluster import config secret ( #1170 )
...
Scorecard supply-chain security / Scorecard analysis (push) Failing after 35s
Post / coverage (push) Failing after 27s
Post / images (amd64, addon-manager) (push) Failing after 34s
Post / images (amd64, placement) (push) Failing after 29s
Post / images (amd64, registration) (push) Failing after 27s
Post / images (amd64, registration-operator) (push) Failing after 27s
Post / images (amd64, work) (push) Failing after 33s
Post / images (arm64, addon-manager) (push) Failing after 29s
Post / images (arm64, placement) (push) Failing after 28s
Post / images (arm64, registration) (push) Failing after 27s
Post / images (arm64, registration-operator) (push) Failing after 29s
Post / images (arm64, work) (push) Failing after 29s
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
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2025-09-18 06:47:16 +00:00
Jeffrey
cb8854b08b
Fix flaky integration test for auto approval awsirsa ( #1178 )
...
Scorecard supply-chain security / Scorecard analysis (push) Failing after 40s
Post / coverage (push) Failing after 33s
Post / images (amd64, addon-manager) (push) Failing after 36s
Post / images (amd64, placement) (push) Failing after 36s
Post / images (amd64, registration) (push) Failing after 34s
Post / images (amd64, registration-operator) (push) Failing after 36s
Post / images (amd64, work) (push) Failing after 40s
Post / images (arm64, addon-manager) (push) Failing after 32s
Post / images (arm64, placement) (push) Failing after 38s
Post / images (arm64, registration) (push) Failing after 30s
Post / images (arm64, registration-operator) (push) Failing after 39s
Post / images (arm64, work) (push) Failing after 36s
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
Signed-off-by: Jeffrey Wong <jeffreywong0417@gmail.com >
2025-09-11 03:26:53 +00:00
Jian Qiu
b4b42aa0b5
Requeue ssar check if only hubKubeConfigSecret is unauthorized ( #1169 ) ( #1164 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2025-09-08 07:11:44 +00:00
Morven Cao
e0476eebb4
upgrade grpc server. ( #1157 )
...
Post / coverage (push) Failing after 28s
Post / images (amd64, addon-manager) (push) Failing after 22s
Post / images (amd64, placement) (push) Failing after 31s
Post / images (amd64, registration) (push) Failing after 27s
Post / images (amd64, registration-operator) (push) Failing after 30s
Post / images (amd64, work) (push) Failing after 31s
Post / images (arm64, addon-manager) (push) Failing after 35s
Post / images (arm64, placement) (push) Failing after 27s
Post / images (arm64, registration) (push) Failing after 21s
Post / images (arm64, registration-operator) (push) Failing after 33s
Post / images (arm64, work) (push) Failing after 31s
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
Scorecard supply-chain security / Scorecard analysis (push) Failing after 47s
Close stale issues and PRs / stale (push) Successful in 47s
Signed-off-by: morvencao <lcao@redhat.com >
rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
2025-09-03 08:31:10 +00:00
Wei Liu
74aa03b01c
using api auth consts ( #1146 )
...
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2025-08-28 07:15:36 +00:00
Wei Liu
ef24cbbab4
support cert auto approve for grpc ( #1134 )
...
Scorecard supply-chain security / Scorecard analysis (push) Failing after 2m35s
Post / coverage (push) Failing after 41m11s
Post / images (amd64, addon-manager) (push) Failing after 8m58s
Post / images (amd64, placement) (push) Failing after 7m57s
Post / images (amd64, registration) (push) Failing after 8m0s
Post / images (amd64, registration-operator) (push) Failing after 7m59s
Post / images (amd64, work) (push) Failing after 7m32s
Post / images (arm64, addon-manager) (push) Failing after 8m3s
Post / images (arm64, placement) (push) Failing after 7m41s
Post / images (arm64, registration) (push) Failing after 7m20s
Post / images (arm64, registration-operator) (push) Failing after 7m41s
Post / images (arm64, work) (push) Failing after 7m42s
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 31s
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2025-08-25 07:44:21 +00:00
Wei Liu
d14fcf1171
cloudevents services integration test ( #1077 )
...
Scorecard supply-chain security / Scorecard analysis (push) Failing after 2m32s
Post / coverage (push) Failing after 36m59s
Post / images (amd64) (push) Failing after 8m25s
Post / images (arm64) (push) Failing after 8m14s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 29s
Signed-off-by: Wei Liu <liuweixa@redhat.com >
2025-07-25 06:23:30 +00:00
Ben Perry
c5e776cdd9
✨ Manifest completion ( #1033 )
...
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1m58s
Post / coverage (push) Failing after 36m24s
Post / images (amd64) (push) Failing after 9m7s
Post / images (arm64) (push) Failing after 8m30s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 57s
* Skip manifests in work reconcile that are marked Complete
Signed-off-by: Ben Perry <bhperry94@gmail.com >
* Aggregate Complete condition to work from manifests
Signed-off-by: Ben Perry <bhperry94@gmail.com >
* Delete work that is complete and satisfies configured TTL
Signed-off-by: Ben Perry <bhperry94@gmail.com >
* tests
Signed-off-by: Ben Perry <bhperry94@gmail.com >
* lint
Signed-off-by: Ben Perry <bhperry94@gmail.com >
* go.mod
Signed-off-by: Ben Perry <bhperry94@gmail.com >
* Helper funcs for conditions
Signed-off-by: Ben Perry <bhperry94@gmail.com >
* Generic condition aggregation
Signed-off-by: Ben Perry <bhperry94@gmail.com >
* Support integration test args
Signed-off-by: Ben Perry <bhperry94@gmail.com >
* Remove work deletion from spoke, will be moved to hub GC
Signed-off-by: Ben Perry <bhperry94@gmail.com >
* Cleanup
Signed-off-by: Ben Perry <bhperry94@gmail.com >
* update api
Signed-off-by: Ben Perry <bhperry94@gmail.com >
* Wait for NS to exist before testing
Signed-off-by: Ben Perry <bhperry94@gmail.com >
---------
Signed-off-by: Ben Perry <bhperry94@gmail.com >
2025-07-14 04:53:04 +00:00
Jeffrey
215cfed77e
Adding support for enableSyncLabels for clustermanager operator and registration controller ( #1021 )
...
Signed-off-by: Jeffrey Wong <jeffreywong0417@gmail.com >
2025-06-12 02:32:36 +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
Jian Qiu
c9b3b6fd26
Only start eks driver in eks integration test ( #1008 )
...
This to remove noisy error message and flaky in integration
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2025-05-27 08:31:58 +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
4a4d51ea80
🌱 Code refactor on registration driver ( #909 )
...
* Code refactor on registration driver
1. Move driver's options to each drivers implemenation
2. Add BuildClients interface so it is possible
to support other driver later.
3. create a general option to simplify driver init
4. remove option with any type
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Change to bootstrapKubeConfigFile
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2025-03-27 07:00:38 +00:00
jaswalkiranavtar and Alex
57c78cd4de
✨ Miscellaneous code cleanup ( #881 )
...
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
Post / coverage (push) Waiting to run
Post / images (amd64) (push) Waiting to run
Post / images (arm64) (push) Waiting to run
Post / image manifest (push) Blocked by required conditions
Post / trigger clusteradm e2e (push) Blocked by required conditions
* extract constants and remove permissions
Signed-off-by: Alex <alexchan2988@gmail.com >
* Addressing miscellaneous code cleanup
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
---------
Signed-off-by: Alex <alexchan2988@gmail.com >
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
Co-authored-by: Alex <alexchan2988@gmail.com >
2025-03-13 00:45:19 +00:00
Jian Zhu
a5f3912a66
Separate crd objects from others ( #882 )
...
Post / coverage (push) Waiting to run
Post / images (amd64) (push) Waiting to run
Post / images (arm64) (push) Waiting to run
Post / image manifest (push) Blocked by required conditions
Post / trigger clusteradm e2e (push) Blocked by required conditions
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Signed-off-by: zhujian <jiazhu@redhat.com >
2025-03-12 03:38:09 +00:00
jaswalkiranavtar and James Dobson
94bfd426ca
Add managed cluster auto-approval for awsirsa ( #850 )
...
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1m5s
Post / images (amd64) (push) Failing after 5m36s
Post / images (arm64) (push) Failing after 5m47s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Post / coverage (push) Failing after 27m4s
Signed-off-by: James Dobson <dobson@softwarepunk.com >
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
Co-authored-by: James Dobson <dobson@softwarepunk.com >
2025-02-28 14:05:53 +00:00
Zhiwei Yin
b94d7da6e9
refator gc and move rbac deletion to cluster controller ( #831 )
...
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2025-02-19 01:47:04 +00:00
Zhiwei Yin
b6c2a848e8
fix gc controller not handle empty cluster ( #812 )
...
Post / coverage (push) Failing after 26m18s
Post / images (amd64) (push) Failing after 7m14s
Post / images (arm64) (push) Failing after 6m40s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1m2s
Close stale issues and PRs / stale (push) Successful in 28s
Signed-off-by: Zhiwei Yin <zyin@redhat.com >
2025-01-23 01:41:27 +00:00
jaswalkiranavtar and Amrutha
f62242d047
✨ Assume prerequisite role on hub if initailize with aws-irsa ( #807 )
...
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1m28s
Post / coverage (push) Failing after 26m43s
Post / images (amd64) (push) Failing after 6m50s
Post / images (arm64) (push) Failing after 6m49s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 35s
* Adding managedcluster identity creator role arn
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
* Addressing review comments
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
---------
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
Co-authored-by: Amrutha <amrutha.hari12@gmail.com >
2025-01-17 16:37:47 +00:00
Jian Qiu
19fb9243ca
Check capi status if it is provisioned ( #801 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2025-01-16 02:44:15 +00:00
jaswalkiranavtar and suvaanshkumar
0acf030cdb
✨ Completing aws registration on spoke ( #788 )
...
Scorecard supply-chain security / Scorecard analysis (push) Failing after 40s
Post / images (amd64) (push) Failing after 5m45s
Post / images (arm64) (push) Failing after 5m45s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Post / coverage (push) Failing after 26m38s
Close stale issues and PRs / stale (push) Successful in 6s
* Completing aws registration on spoke
Signed-off-by: suvaanshkumar <suvaanshkumar@gmail.com >
* adding new function to overcome gci errors on slices
Signed-off-by: suvaanshkumar <suvaanshkumar@gmail.com >
* Refactoring array contains function
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
---------
Signed-off-by: suvaanshkumar <suvaanshkumar@gmail.com >
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
Co-authored-by: suvaanshkumar <suvaanshkumar@gmail.com >
2025-01-09 19:07:43 +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 Qiu
25ea10bcbf
✨ Add importer into registration ( #753 )
...
* Add importer into registraiton
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Add unit tests
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Add integration test
Signed-off-by: Jian Qiu <jqiu@redhat.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-12-16 13:59:55 +00:00
jaswalkiranavtar and Jian Qiu
b170f3a41e
✨ Cluster decorator interface ( #759 )
...
* Add cluster decorator interface in register
And refactor creating to controller to call decorators
Signed-off-by: Jian Qiu <jqiu@redhat.com >
* Add aws annotations to ManagedCluster using Decorator
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
* Addressing review comments
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
---------
Signed-off-by: Jian Qiu <jqiu@redhat.com >
Signed-off-by: Gaurav Jaswal <jaswalkiranavtar@gmail.com >
Co-authored-by: Jian Qiu <jqiu@redhat.com >
2024-12-11 15:59:43 +00:00
xuezhao
7664585c22
Fix: reduce cluster rbac when accpet to false. ( #675 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2024-11-04 02:02:25 +00:00
xuezhao
603b40572d
Fix: check error instead of bool to see error msg when case fails. ( #682 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2024-10-31 09:04:58 +00:00
Qing Hao
4ebe9d7978
🐛 monitor the bootstrap kubeconfig and restart immediately when changes ( #630 )
...
* monitor the bootstrap kubeconfig and restart immediately when changes
Signed-off-by: haoqing0110 <qhao@redhat.com >
* fix comments
Signed-off-by: haoqing0110 <qhao@redhat.com >
---------
Signed-off-by: haoqing0110 <qhao@redhat.com >
2024-09-30 06:24:20 +00:00
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
xuezhao
5617fec2f7
fix: put the update into a eventually to avoid flaky error. ( #557 )
...
Signed-off-by: xuezhaojun <zxue@redhat.com >
2024-07-08 06:35:36 +00:00
Yang Le
a14450aa93
🌱 make additional secret data always sensitive ( #525 )
...
Signed-off-by: Yang Le <yangle@redhat.com >
2024-06-26 02:32:52 +00:00
Jian Qiu
b6058f1126
Update deps of api and library to 0.14.0 ( #532 )
...
Signed-off-by: Jian Qiu <jqiu@redhat.com >
2024-06-21 07:25:59 +00:00
Jian Zhu
b38dc2ccef
Update ClusterCertificateRotated to false if the signer name is invalid ( #507 )
...
Signed-off-by: zhujian <jiazhu@redhat.com >
2024-06-11 01:56:43 +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