kubernetes/pkg/api
Patrick Ohly f32302e744 api: drop Resources.Claims from PVC and PVC template
PVC and containers share the same ResourceRequirements struct. The Claims field
in it only makes sense when used in containers. When used in a PVC, the field
should have been rejected by validation. This was overlooked when introducing
it, so now persisted objects might have it set and/or people may have started
to rely on it being accepted even when it has no effect.

Therefore we cannot reject it in validation anymore, but we can still strip
it out on create or update.
2023-02-24 16:32:58 +01:00
..
endpoints/testing Move endpoints test-helper funcs to a package 2021-07-01 18:26:45 -07: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 pkg/api/persistentvolume: Improving test coverage. 2022-11-21 17:18:24 +01:00
persistentvolumeclaim api: drop Resources.Claims from PVC and PVC template 2023-02-24 16:32:58 +01:00
pod api: drop Resources.Claims from PVC and PVC template 2023-02-24 16:32:58 +01:00
service Services API: warnings 2022-12-16 11:54:05 +00:00
storage deprecated node labels: make naming consistant and remove some unused args in funcs 2022-05-25 15:15:34 +08:00
testing remove psp in extensions api/apis 2023-01-06 17:07:02 +08:00
v1 ServiceExternalTrafficPolicyType: s/Type// 2022-12-11 13:48:27 -08:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00