github.com/argoproj/argo-cd/v3@v3.2.1/manifests/ha/base/redis-ha/argocd-redis-ha-proxy-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-haproxy
     6      app.kubernetes.io/component: redis
     7      app.kubernetes.io/part-of: argocd
     8    name: argocd-redis-ha-proxy-network-policy
     9  spec:
    10    podSelector:
    11      matchLabels:
    12        app.kubernetes.io/name: argocd-redis-ha-haproxy
    13    policyTypes:
    14    - Ingress
    15    ingress:
    16    - from:
    17      - podSelector:
    18          matchLabels:
    19            app.kubernetes.io/name: argocd-server
    20      - podSelector:
    21          matchLabels:
    22            app.kubernetes.io/name: argocd-repo-server
    23      - podSelector:
    24          matchLabels:
    25            app.kubernetes.io/name: argocd-application-controller
    26      ports:
    27      - port: 6379
    28        protocol: TCP
    29      - port: 26379
    30        protocol: TCP
    31    - from:
    32      - namespaceSelector: {}
    33      ports:
    34      - port: 9101
    35        protocol: TCP
    36