github.com/inspektor-gadget/inspektor-gadget@v0.28.1/pkg/gadgets/advise/networkpolicy/advisor/testdata/connect-to-svc-duplicate.golden (about) 1 apiVersion: networking.k8s.io/v1 2 kind: NetworkPolicy 3 metadata: 4 creationTimestamp: null 5 name: test-pod-network 6 namespace: test-networkpolicy-8485776873410829123 7 spec: 8 egress: 9 - ports: 10 - port: 443 11 protocol: TCP 12 to: 13 - namespaceSelector: 14 matchLabels: 15 kubernetes.io/metadata.name: default 16 podSelector: {} 17 - ports: 18 - port: 53 19 protocol: UDP 20 to: 21 - namespaceSelector: 22 matchLabels: 23 kubernetes.io/metadata.name: kube-system 24 podSelector: 25 matchLabels: 26 k8s-app: kube-dns 27 podSelector: {} 28 policyTypes: 29 - Ingress 30 - Egress