apiserver/pkg/admission/plugin/webhook
Stephen Kitt 942c16fb6a Use canonical json-patch v4 import
The canonical import for json-patch v4 is
gopkg.in/evanphx/json-patch.v4 (see
https://github.com/evanphx/json-patch/blob/master/README.md#get-it for
reference).

Using the v4-specific path should also reduce the risk of unwanted v5
upgrade attempts, because they won't be offered as automated upgrades
by dependency upgrade management tools, and they won't happen through
indirect dependencies (see
https://github.com/kubernetes/kubernetes/pull/120327 for context).

Signed-off-by: Stephen Kitt <skitt@redhat.com>

Kubernetes-commit: 5300466a5c8988b479a151ceb77f49dd00065c83
2024-02-16 13:57:24 +01:00
..
config chore: adds consistent vanity import to files and provides tooling for verifying and updating them. (#120642) 2024-02-08 14:10:27 +00:00
errors Ensure 4xx+ response codes from webhook rejections 2019-04-24 15:27:19 -04:00
generic Adding the feature gates to fix cost for VAP and webhook matchConditions. 2024-05-01 16:26:41 -07:00
initializer Add port to ServiceResolvers 2019-03-01 16:32:50 -08:00
matchconditions bugfix: use matched resource for AdmissionRequest.resource, not the resource it was converted from 2023-07-21 18:13:24 -07:00
mutating Use canonical json-patch v4 import 2024-02-16 13:57:24 +01:00
predicates ValidatingAdmissionPolicy: support namespace access (#118267) 2023-07-15 01:33:59 +00:00
request migrate versionedattr to avoid circular dependency 2023-03-03 14:04:29 -06:00
testcerts fix shellcheck in k8s.io/apiserver 2019-01-24 13:55:09 +08:00
testing staging: fix "go vet" issues 2023-02-28 21:22:40 +01:00
util Use cached selectors/client for webhooks 2019-08-24 17:12:14 -04:00
validating Remove defunct references to "vendor" 2024-01-15 15:56:21 -08:00
accessors.go Adding the feature gates to fix cost for VAP and webhook matchConditions. 2024-05-01 16:26:41 -07:00
accessors_test.go Replace uses of ObjectReflectDiff with cmp.Diff 2023-03-23 11:34:03 -07:00