diff --git a/scheduler/networks.go b/scheduler/networks.go index 4c962b5b..edca4c1e 100644 --- a/scheduler/networks.go +++ b/scheduler/networks.go @@ -97,10 +97,8 @@ func (s *AntidoteScheduler) createNetworkPolicy(sc ot.SpanContext, nsName string // Have only been able to get this working with this CIDR. // Tried a /32 directly to the svc IP for DNS, but that didn't seem to work. - // Should revisit this later. Open to all RFC1918 for now. - {IPBlock: &netv1.IPBlock{CIDR: "10.0.0.0/8"}}, - {IPBlock: &netv1.IPBlock{CIDR: "192.168.0.0/16"}}, - {IPBlock: &netv1.IPBlock{CIDR: "171.16.0.0/12"}}, + // Should revisit this later. Open to all cluster namespaces for now. + {NamespaceSelector: &meta_v1.LabelSelector{}}, }, Ports: []netv1.NetworkPolicyPort{ {Protocol: &tcp, Port: &fivethree},