apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: netpolicy-userhelper
spec:
  podSelector:
    matchLabels:
      userhelper: "yes"
  ingress:
    - from:
      - namespaceSelector:
          matchLabels:
            role: "usercode"
  policyTypes:
   - Ingress
