github.com/argoproj/argo-cd/v3@v3.2.1/manifests/ha/base/redis-ha/argocd-redis-ha-server-network-policy.yaml (about) 1 kind: NetworkPolicy 2 apiVersion: networking.k8s.io/v1 3 metadata: 4 labels: 5 app.kubernetes.io/name: argocd-redis-ha 6 app.kubernetes.io/component: redis 7 app.kubernetes.io/part-of: argocd 8 name: argocd-redis-ha-server-network-policy 9 spec: 10 podSelector: 11 matchLabels: 12 app.kubernetes.io/name: argocd-redis-ha 13 policyTypes: 14 - Ingress 15 - Egress 16 ingress: 17 - from: 18 - podSelector: 19 matchLabels: 20 app.kubernetes.io/name: argocd-redis-ha-haproxy 21 - podSelector: 22 matchLabels: 23 app.kubernetes.io/name: argocd-redis-ha 24 ports: 25 - port: 6379 26 protocol: TCP 27 - port: 26379 28 protocol: TCP 29 egress: 30 - to: 31 - podSelector: 32 matchLabels: 33 app.kubernetes.io/name: argocd-redis-ha 34 ports: 35 - port: 6379 36 protocol: TCP 37 - port: 26379 38 protocol: TCP 39 - ports: 40 - port: 53 41 protocol: UDP 42 - port: 53 43 protocol: TCP