You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// If there are no ingress from but there are ports in the policy; check if the service is safe
243
-
iflen(ingress.From) ==0 {
244
-
// If the policy targets all pods (allow all) or only pods that are in the service selector, check if traffic is allowed to all the service's target ports
// If there are no ingress from but there are ports in the policy; check if the service is safe
242
+
iflen(ingress.From) ==0 {
243
+
// If the policy targets all pods (allow all) or only pods that are in the service selector, check if traffic is allowed to all the service's target ports
244
+
// Note: ingress.Ports.protocol will never be nil if len(ingress.Ports) is greater than 0. It defaults to "TCP" if not set
0 commit comments