---
kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
  name: backend-access
  namespace: sacrifice
spec:
  podSelector:
    matchLabels:
      app: backend
  ingress:
  - from:
    - podSelector:
        matchLabels:
          app: frontend
...
