GlobalNetworkPolicy: 空的 `nets: []` 列表意外地匹配所有流量(表现为"匹配所有")
作者: mikel-carcoba-klarrio创建于 2026年8月24日更新于 2026年10月1日
标签stale
Expected Behavior
When the nets list inside a GlobalNetworkPolicy rule's destination field is explicitly set to empty (nets: []), it should be treated as an empty match set. This means it should match nothing, preventing the rule from firing and causing the traffic to be dropped by subsequent Deny rules.
内容来源: projectcalico/calico