kubernetes/pkg/controller/volume
Jan Safranek 24400c24ae Clean up error messages for pre-bound PVCs.
When a PVC explicitly requests specific PV and the PV does not match,
we should tell the user what exactly does not match.

From:
Volume's size is smaller than requested or volume's class does not match with claim

To:
Cannot bind to requested volume "<volume name>": %s
where %s is one of:
- requested PV is too small
- storageClasseNames do not match
- incompatible volumeMode
- error checking volumeMode: api defaulting for volumeMode failed (this should not ever happen)
2018-01-19 15:43:45 +01:00
..
attachdetach Merge pull request #57724 from mlmhl/ad_controller_populateDesiredStateOfWorld 2018-01-10 05:12:27 -08:00
events In findMatchingVolumes: 2017-11-21 21:42:35 -08:00
expand optimize volumeResizeMap lock 2017-12-28 14:44:36 +08:00
persistentvolume Clean up error messages for pre-bound PVCs. 2018-01-19 15:43:45 +01:00
pvcprotection Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
OWNERS Update volume OWNERS to reflect active sig-storage reviewers 2017-10-26 13:26:33 -07:00