apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: deny-ingress
spec:
policyTypes:
- Ingress
- Egress
ingress:
- from:
- podSelector: {}
egress:
- {}
podSelector: {}