mirror of https://github.com/kubernetes/kops.git
Alloq using gp3 for root volumes
This commit is contained in:
parent
dc1c2210cf
commit
a42891db25
|
@ -196,7 +196,7 @@ func CrossValidateInstanceGroup(g *kops.InstanceGroup, cluster *kops.Cluster, cl
|
|||
}
|
||||
|
||||
if g.Spec.RootVolumeType != nil && kops.CloudProviderID(cluster.Spec.CloudProvider) == kops.CloudProviderAWS {
|
||||
allErrs = append(allErrs, IsValidValue(field.NewPath("spec", "rootVolumeType"), g.Spec.RootVolumeType, []string{"standard", "gp2", "io1", "io2"})...)
|
||||
allErrs = append(allErrs, IsValidValue(field.NewPath("spec", "rootVolumeType"), g.Spec.RootVolumeType, []string{"standard", "gp3", "gp2", "io1", "io2"})...)
|
||||
}
|
||||
|
||||
return allErrs
|
||||
|
|
|
@ -196,6 +196,9 @@ func TestValidBootDevice(t *testing.T) {
|
|||
{
|
||||
volumeType: "standard",
|
||||
},
|
||||
{
|
||||
volumeType: "gp3",
|
||||
},
|
||||
{
|
||||
volumeType: "gp2",
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue