Merge pull request #7834 from zetaab/fixprotocol4

Add protocol rules to master as well
This commit is contained in:
Kubernetes Prow Robot 2019-10-28 05:55:25 -07:00 committed by GitHub
commit d59fa99518
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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