apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: huginn-web
spec:
  podSelector:
    matchLabels:
      name: huginn-web
  ingress:
    - from:
        - namespaceSelector:
            matchLabels:
              name: ingress-external
        - podSelector:
            matchLabels:
              name: ingress
      ports:
        - protocol: TCP
          port: http
