kubernetes/plugin/pkg/admission
Patrick Ohly 2472291790 api: introduce separate VolumeResourceRequirements struct
PVC and containers shared the same ResourceRequirements struct to define their
API. When resource claims were added, that struct got extended, which
accidentally also changed the PVC API. To avoid such a mistake from happening
again, PVC now uses its own VolumeResourceRequirements struct.

The `Claims` field gets removed because risk of breaking someone is low:
theoretically, YAML files which have a claims field for volumes now
get rejected when validating against the OpenAPI. Such files
have never made sense and should be fixed.

Code that uses the struct definitions needs to be updated.
2023-08-21 15:31:28 +02:00
..
admit hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
alwayspullimages hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
antiaffinity hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
certificates ClusterTrustBundles: kube-apiserver integration tests 2023-03-15 20:19:48 -07:00
defaulttolerationseconds hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
deny hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
eventratelimit Clean up brace whitespace in **/validation_test.go 2023-05-02 00:48:42 -07:00
extendedresourcetoleration hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
gc ValidatingAdmissionPolicy controller for Type Checking (#117377) 2023-07-13 13:41:50 -07:00
imagepolicy Add ephemeralcontainer to imagepolicy securityaccount admission plugin 2023-06-01 23:05:06 -07:00
limitranger api: introduce separate VolumeResourceRequirements struct 2023-08-21 15:31:28 +02:00
namespace Update admission initializers. 2022-11-07 21:24:46 +00:00
network plugin/pkg/admission: Replace deprecated pointer function 2023-01-04 14:12:32 +01:00
noderestriction api: introduce separate VolumeResourceRequirements struct 2023-08-21 15:31:28 +02:00
nodetaint hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
podnodeselector Update admission initializers. 2022-11-07 21:24:46 +00:00
podtolerationrestriction Clean up brace whitespace in **/validation_test.go 2023-05-02 00:48:42 -07:00
priority Merge pull request #106565 from kerthcet/feature/addd-several-testcases-to-cover-priority-admission 2022-03-03 10:43:48 -08:00
resourcequota api: introduce separate VolumeResourceRequirements struct 2023-08-21 15:31:28 +02:00
runtimeclass mark PodOverhead to GA in v1.24; remove in v1.26 2022-03-17 09:30:14 +08:00
security PodSecurity: promote config and feature gate to GA 2022-06-15 09:29:47 +08:00
securitycontext/scdeny Add a SecurityContextDeny feature gate disabled by default 2023-03-13 10:18:08 +01:00
serviceaccount Add ephemeralcontainer to imagepolicy securityaccount admission plugin 2023-06-01 23:05:06 -07:00
storage api: introduce separate VolumeResourceRequirements struct 2023-08-21 15:31:28 +02:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00