• Jan Safranek's avatar
    Clean up error messages for pre-bound PVCs. · 24400c24
    Jan Safranek authored
    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)
    24400c24
Name
Last commit
Last update
..
attachdetach Loading commit data...
events Loading commit data...
expand Loading commit data...
persistentvolume Loading commit data...
pvcprotection Loading commit data...
OWNERS Loading commit data...