add protocol4 as allowed to master

This commit is contained in:
Jesse Haka 2019-10-28 11:57:51 +02:00
parent df51cb8f1b
commit b77a58a896
1 changed files with 2 additions and 1 deletions

View File

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