Skip to content

Commit

Permalink
Merge pull request #9907 from olemarkus/openstack-no-volume-type
Browse files Browse the repository at this point in the history
Remove constraint of setting volume type for OS
  • Loading branch information
k8s-ci-robot authored Sep 11, 2020
2 parents 041f774 + ecfdf57 commit ccd810d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/model/master_volumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,6 @@ func (b *MasterVolumeBuilder) addGCEVolume(c *fi.ModelBuilderContext, name strin

func (b *MasterVolumeBuilder) addOpenstackVolume(c *fi.ModelBuilderContext, name string, volumeSize int32, zone string, etcd kops.EtcdClusterSpec, m kops.EtcdMemberSpec, allMembers []string) error {
volumeType := fi.StringValue(m.VolumeType)
if volumeType == "" {
return fmt.Errorf("must set ETCDMemberSpec.VolumeType on Openstack platform")
}

// The tags are how protokube knows to mount the volume and use it for etcd
tags := make(map[string]string)
Expand Down

0 comments on commit ccd810d

Please sign in to comment.