apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: deny-all
  namespace: networkpolicy
spec:
  podSelector: {}
  policyTypes:
  - Ingress
  - Egress
