kubernetes/pkg/api
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
..
endpoints/testing Move endpoints test-helper funcs to a package 2021-07-01 18:26:45 -07:00
job Add warnings for big number of completions and parallelism 2023-06-14 10:38:42 -04:00
legacyscheme hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
node deprecated node labels: make naming consistant and remove some unused args in funcs 2022-05-25 15:15:34 +08:00
persistentvolume implement pv last phase transition time 2023-07-21 20:42:25 +02:00
persistentvolumeclaim api: introduce separate VolumeResourceRequirements struct 2023-08-21 15:31:28 +02:00
pod api: introduce separate VolumeResourceRequirements struct 2023-08-21 15:31:28 +02:00
service API warn non-ExternalName services w/ externalName 2023-07-26 15:57:57 -07:00
storage deprecated node labels: make naming consistant and remove some unused args in funcs 2022-05-25 15:15:34 +08:00
testing Delete PSP API types and generated clients 2023-08-07 16:44:13 -04:00
v1 implement sidecar resource calculation 2023-07-08 07:26:13 +09:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00