Skip to content

Commit 55933e5

Browse files
committed
Change minimum volume size to 1Gi to be in line with GCE PD
1 parent a05409a commit 55933e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/gce-pd-csi-driver/controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ var _ csi.ControllerServer = &GCEControllerServer{}
4646
const (
4747
// MaxVolumeSizeInBytes is the maximum standard and ssd size of 64TB
4848
MaxVolumeSizeInBytes int64 = 64 * 1024 * 1024 * 1024 * 1024
49-
MinimumVolumeSizeInBytes int64 = 5 * 1024 * 1024 * 1024
50-
MinimumDiskSizeInGb = 5
49+
MinimumVolumeSizeInBytes int64 = 1 * 1024 * 1024 * 1024
50+
MinimumDiskSizeInGb = 1
5151

5252
DiskTypeSSD = "pd-ssd"
5353
DiskTypeStandard = "pd-standard"

0 commit comments

Comments
 (0)