kubernetes/pkg/controller/volume/persistentvolume
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
..
config remove helper function for unused storage feature in pkg/proxy/util 2023-06-13 09:22:59 +08:00
metrics add a metric for retroactive sc errors 2022-10-25 15:09:16 +02:00
options hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
testing Replace uses of diff.ObjectDiff with cmp.Diff 2023-04-12 08:46:12 -07:00
binder_test.go volume: use contextual logging 2023-03-14 08:37:30 +08:00
delete_test.go volume: use contextual logging 2023-03-14 08:37:30 +08:00
framework_test.go api: introduce separate VolumeResourceRequirements struct 2023-08-21 15:31:28 +02:00
index_test.go api: introduce separate VolumeResourceRequirements struct 2023-08-21 15:31:28 +02:00
index.go Generate and format files 2022-07-26 13:14:05 -04:00
provision_test.go volume: use contextual logging 2023-03-14 08:37:30 +08:00
pv_controller_base.go remove helper function for unused storage feature in pkg/proxy/util 2023-06-13 09:22:59 +08:00
pv_controller_test.go Migrated pkg/controller/volume|util|replicaset|nodeipam to contextual logging 2023-07-06 07:39:52 +08:00
pv_controller.go Merge pull request #118102 from RomanBednar/retro-sc-assignment-ga 2023-06-27 20:46:32 -07:00
recycle_test.go volume: use contextual logging 2023-03-14 08:37:30 +08:00
volume_host.go Migrated pkg/controller/volume|util|replicaset|nodeipam to contextual logging 2023-07-06 07:39:52 +08:00