#! private-network-network-policy.yaml # Generated code, do not edit apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: private-network-network-policy namespace: bridge spec: podSelector: matchLabels: com.docker.compose.network.private-network: "true" policyTypes: - Ingress - Egress ingress: - from: - podSelector: matchLabels: com.docker.compose.network.private-network: "true" egress: - to: - podSelector: matchLabels: com.docker.compose.network.private-network: "true"