kubernetes/pkg/apis/apps
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
..
fuzzer api: replace intstr.FromInt with intstr.FromInt32 2023-05-01 09:16:15 +02:00
install hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
v1 cleanup: Update deprecated FromInt to FromInt32 (#119858) 2023-08-16 09:33:01 -07:00
v1beta1 cleanup: Update deprecated FromInt to FromInt32 (#119858) 2023-08-16 09:33:01 -07:00
v1beta2 cleanup: Update deprecated FromInt to FromInt32 (#119858) 2023-08-16 09:33:01 -07:00
validation api: introduce separate VolumeResourceRequirements struct 2023-08-21 15:31:28 +02:00
doc.go deepcopy: remove deepcopy register tags 2017-11-10 18:25:26 +01:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
register.go Fix golint issues in pkg/apis/apps and pkg/apis/apps/validation 2019-08-22 21:26:49 +02:00
types.go Graduate StatefulSetAutoDelete to beta 2023-03-13 17:09:29 -07:00
zz_generated.deepcopy.go Update generated protobuf files 2022-11-08 07:48:09 -08:00