---
manifests:
  network_policy: true

network_policy:
  barbican:
    ingress:
      - from:
        - podSelector:
            matchLabels:
              application: barbican
        - podSelector:
            matchLabels:
              application: ingress
        - podSelector:
            matchLabels:
              application: horizon
        - podSelector:
            matchLabels:
              application: heat
        - podSelector:
            matchLabels:
              application: magnum
        ports:
        - protocol: TCP
          port: 80
        - protocol: TCP
          port: 9311
    egress:
      - to:
        - ipBlock:
            cidr: %%%REPLACE_API_ADDR%%%/32
        ports:
          - protocol: TCP
            port: %%%REPLACE_API_PORT%%%
...
