mirror of
https://github.com/hanzoai/cd.git
synced 2026-10-30 14:56:45 +00:00
Signed-off-by: Michael Crenshaw <[email protected]> Signed-off-by: Philippe Merle <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Kim Brose <[email protected]> Co-authored-by: Michael Crenshaw <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kim Brose <[email protected]>
44 lines
932 B
YAML
44 lines
932 B
YAML
kind: NetworkPolicy
|
|
apiVersion: networking.k8s.io/v1
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/name: argocd-redis-ha
|
|
app.kubernetes.io/component: redis
|
|
app.kubernetes.io/part-of: argocd
|
|
name: argocd-redis-ha-server-network-policy
|
|
spec:
|
|
podSelector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: argocd-redis-ha
|
|
policyTypes:
|
|
- Ingress
|
|
- Egress
|
|
ingress:
|
|
- from:
|
|
- podSelector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: argocd-redis-ha-haproxy
|
|
- podSelector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: argocd-redis-ha
|
|
ports:
|
|
- port: 6379
|
|
protocol: TCP
|
|
- port: 26379
|
|
protocol: TCP
|
|
egress:
|
|
- to:
|
|
- podSelector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: argocd-redis-ha
|
|
ports:
|
|
- port: 6379
|
|
protocol: TCP
|
|
- port: 26379
|
|
protocol: TCP
|
|
- ports:
|
|
- port: 53
|
|
protocol: UDP
|
|
- port: 53
|
|
protocol: TCP
|