kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
  name: coffeedirectory-allow
  namespace: default
spec:
  podSelector:
    matchLabels:
      app: coffeedirectory
  ingress:
  - from:
      - podSelector:
          matchLabels:
            app: web
