From b77a58a89622e90c8d08774e38dc155429848401 Mon Sep 17 00:00:00 2001 From: Jesse Haka Date: Mon, 28 Oct 2019 11:57:51 +0200 Subject: [PATCH] add protocol4 as allowed to master --- pkg/model/openstackmodel/firewall.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/model/openstackmodel/firewall.go b/pkg/model/openstackmodel/firewall.go index 20263a657d..8a1a57cf03 100644 --- a/pkg/model/openstackmodel/firewall.go +++ b/pkg/model/openstackmodel/firewall.go @@ -436,7 +436,8 @@ func (b *FirewallModelBuilder) addCNIRules(c *fi.ModelBuilderContext, sgMap map[ Protocol: s(protocol), EtherType: s(string(rules.EtherType4)), } - addDirectionalGroupRule(c, nodeSG, masterSG, protocolRule) + addDirectionalGroupRule(c, masterSG, nil, protocolRule) + addDirectionalGroupRule(c, nodeSG, nil, protocolRule) } return nil