From 2ca4ffe6532f70f9836cf48d271cd27b2144baa8 Mon Sep 17 00:00:00 2001 From: Stephen Kitt Date: Wed, 5 Feb 2025 09:43:17 +0100 Subject: [PATCH] Add evanphx/json-patch/v5 to unwanted dependencies This comes up periodically; bumping to v5 introduces issues with replace operations in JSON patches. k/k relies on non-RFC-compliant operations which v5 no longer allows. Signed-off-by: Stephen Kitt --- hack/unwanted-dependencies.json | 1 + 1 file changed, 1 insertion(+) diff --git a/hack/unwanted-dependencies.json b/hack/unwanted-dependencies.json index 47a37ed5b86..f6ae0813e7e 100644 --- a/hack/unwanted-dependencies.json +++ b/hack/unwanted-dependencies.json @@ -14,6 +14,7 @@ "github.com/bketelsen/crypt": "unused, crypto", "github.com/containerd/cgroups": "standardize on single cgroups library from runc, refer #128157", "github.com/davecgh/go-spew": "refer to #103942", + "github.com/evanphx/json-patch/v5": "refer to https://github.com/kubernetes/kubernetes/pull/91622#issuecomment-637087847", "github.com/form3tech-oss/jwt-go": "unmaintained, archive mode", "github.com/getsentry/raven-go": "unmaintained, archive mode", "github.com/go-bindata/go-bindata": "refer to #99829",