You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CSI spec is clear that when CapacityRange is supplied, neither
RequiredBytes nor LimitBytes may be negative, and at least one of the
two values must be non-zero. It is also impossible to create a volume
that requires more bytes than a non-zero limit. However, before this
patch, we were not taking the limit into account.
Note that since we do not check whether hp.createVolume() rounds
capacity up during the creation, we cannot detect the case where that
rounding would violate limit.
See also kubernetes-csi/csi-test#568 which
will test these changes.
Signed-off-by: Eric Blake <[email protected]>
0 commit comments