kubernetes/pkg/controller/history
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
..
controller_history_test.go api: introduce separate VolumeResourceRequirements struct 2023-08-21 15:31:28 +02:00
controller_history.go fix: 81134: fix unsafe json for ReleaseControllerRevision (#104049) 2021-11-05 06:33:52 -07:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00