Merge pull request #10694 from olemarkus/allow-gp2-standard

Fix bug preventing tasks using gp2
This commit is contained in:
Kubernetes Prow Robot 2021-01-30 11:29:48 -08:00 committed by GitHub
commit bd956fdc4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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)
} }