--- kind: NetworkPolicy apiVersion: networking.k8s.io/v1 metadata: name: web-allow-external spec: podSelector: matchLabels: app.kubernetes.io/instance: nginx ingress: - {}