mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-02-14 18:09:57 +00:00
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>
This commit is contained in:
4
go.mod
4
go.mod
@@ -40,8 +40,8 @@ require (
|
||||
k8s.io/kubectl v0.34.3
|
||||
k8s.io/utils v0.0.0-20250604170112-4c0f3b243397
|
||||
open-cluster-management.io/addon-framework v1.1.1-0.20251126020917-1a0a9be61322
|
||||
open-cluster-management.io/api v1.1.1-0.20251124092621-2337d27c3b7f
|
||||
open-cluster-management.io/sdk-go v1.1.1-0.20251209031938-62521c9935ac
|
||||
open-cluster-management.io/api v1.1.1-0.20251215032811-ee922fbb996c
|
||||
open-cluster-management.io/sdk-go v1.1.1-0.20251215074442-72dfdeb13ed1
|
||||
sigs.k8s.io/about-api v0.0.0-20250131010323-518069c31c03
|
||||
sigs.k8s.io/cluster-inventory-api v0.0.0-20240730014211-ef0154379848
|
||||
sigs.k8s.io/controller-runtime v0.22.4
|
||||
|
||||
Reference in New Issue
Block a user