Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. Kubernetes-commit: bb8e051b4b95e1eb0e2dc4e3e25b4373a8a6307d
- Loading branch information