Files
kubernetes/pkg/controller/volume/persistentvolume
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
..
2017-10-15 18:18:13 -07:00
2017-11-21 21:42:35 -08:00
2017-12-23 13:12:11 -08:00
2017-11-21 21:42:35 -08:00