Omit protocols in Openstack CNI Rules

This commit is contained in:
Sergiu Marsavela (smarsave) 2019-03-13 18:25:52 +01:00
parent 4a57f8fb2d
commit ac0b62680f
1 changed files with 0 additions and 2 deletions

View File

@ -337,7 +337,6 @@ func (b *FirewallModelBuilder) addCNIRules(c *fi.ModelBuilderContext, sgMap map[
udpPorts = append(udpPorts, 6783)
tcpPorts = append(tcpPorts, 6783)
udpPorts = append(udpPorts, 6784)
protocols = append(protocols, ProtocolIPEncap)
}
if b.Cluster.Spec.Networking.Flannel != nil {
@ -345,7 +344,6 @@ func (b *FirewallModelBuilder) addCNIRules(c *fi.ModelBuilderContext, sgMap map[
case "", "udp":
udpPorts = append(udpPorts, 8285)
case "vxlan":
protocols = append(protocols, ProtocolIPEncap)
udpPorts = append(udpPorts, 8472)
default:
glog.Warningf("unknown flannel networking backend %q", b.Cluster.Spec.Networking.Flannel.Backend)