kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
  name: web-allow
  namespace: default
spec:
  podSelector:
    matchLabels:
      app: web
  ingress:
  # allow all external traffic to web
  - from: []
