From ab32a885f5b5af0a481575e14aefc01e25e14a60 Mon Sep 17 00:00:00 2001 From: Max Brauer Date: Thu, 28 Mar 2024 13:50:57 +0100 Subject: [PATCH] feat: remove deprecated SafeDeployDiff BREAKING CHANGE: removes depracted SafeDeployDiff use reconcilers.IgnoreAllUnexported instead Signed-off-by: Max Brauer --- testing/config.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/testing/config.go b/testing/config.go index 3b0c0ee..96f90eb 100644 --- a/testing/config.go +++ b/testing/config.go @@ -24,7 +24,6 @@ import ( "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" - "k8s.io/apimachinery/pkg/api/resource" "k8s.io/apimachinery/pkg/fields" "k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/runtime" @@ -438,9 +437,6 @@ var ( return str != "" && !strings.HasPrefix(str, "Status") }, cmp.Ignore()) - // Deprecated: use reconcilers.IgnoreAllUnexported instead - SafeDeployDiff = cmpopts.IgnoreUnexported(resource.Quantity{}) - NormalizeLabelSelector = cmp.Transformer("labels.Selector", func(s labels.Selector) *string { if s == nil || s.Empty() { return nil