We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d951865 commit 3489f9cCopy full SHA for 3489f9c
cns/middlewares/k8sSwiftV2.go
@@ -62,7 +62,7 @@ func (k *K8sSWIFTv2Middleware) IPConfigsRequestHandlerWrapper(defaultHandler, fa
62
for i := range ipConfigsResp.PodIPInfo {
63
ipInfo := &ipConfigsResp.PodIPInfo[i]
64
// there will be no pod connectivity to and from those pods
65
- if defaultDenyACLbool {
+ if defaultDenyACLbool && ipInfo.NICType == cns.InfraNIC {
66
err = addDefaultDenyACL(ipInfo)
67
if err != nil {
68
logger.Errorf("failed to add default deny acl's for pod %v with err %v", podInfo.Name(), err)
0 commit comments