Commit df56d67
spec: Volume from snapshot with different size
There's no mention in the spec to expected behavior when the
required_bytes in CreateVolumeRequest's capacity_range is larger or
smaller than that of the VolumeContentSource.
This may lead to different interpretations on the behavior.
We are now explicit about expected behavior. If it's smaller we fail
with OUT_OF_RANGE, and if it's greater the volume must be extended by
the driver if necessary.1 parent c7269ca commit df56d67
3 files changed
+79
-74
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
186 | 190 | | |
187 | 191 | | |
188 | 192 | | |
| |||
0 commit comments