mirror of https://github.com/kubernetes/kops.git
Merge pull request #10694 from olemarkus/allow-gp2-standard
Fix bug preventing tasks using gp2
This commit is contained in:
commit
bd956fdc4a
|
|
@ -140,6 +140,7 @@ func (b *MasterVolumeBuilder) addAWSVolume(c *fi.ModelBuilderContext, name strin
|
||||||
if volumeThroughput < 125 {
|
if volumeThroughput < 125 {
|
||||||
volumeThroughput = DefaultAWSEtcdVolumeGp3Throughput
|
volumeThroughput = DefaultAWSEtcdVolumeGp3Throughput
|
||||||
}
|
}
|
||||||
|
case "gp2", "standard":
|
||||||
default:
|
default:
|
||||||
return fmt.Errorf("unknown volume type %q", volumeType)
|
return fmt.Errorf("unknown volume type %q", volumeType)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue