Skip to content

Commit

Permalink
fix(redis): explicit bind to redis and sentinel for IPv4 clusters arg…
Browse files Browse the repository at this point in the history
…oproj#11388

Signed-off-by: rumstead <rjumstead@gmail.com>
  • Loading branch information
rumstead committed Dec 30, 2022
1 parent 566d50f commit 18e006c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion manifests/ha/base/redis-ha/chart/upstream.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ data:
port 6379
rename-command FLUSHDB ""
rename-command FLUSHALL ""
bind 0.0.0.0
maxmemory 0
maxmemory-policy volatile-lru
min-replicas-max-lag 5
Expand All @@ -53,6 +54,7 @@ data:
sentinel.conf: |
dir "/data"
port 26379
bind 0.0.0.0
sentinel down-after-milliseconds argocd 10000
sentinel failover-timeout argocd 180000
maxclients 10000
Expand Down Expand Up @@ -1153,7 +1155,7 @@ spec:
template:
metadata:
annotations:
checksum/init-config: 84ccf6a9b8a7fa3ae5b62a8f17d6c65a5197e9605da9b2761179bf942828eefe
checksum/init-config: 69130412bda04eacad3530cb7bcf26cf121401e725e15d0959dd71a7380afe75
labels:
release: argocd
app: redis-ha
Expand Down
3 changes: 3 additions & 0 deletions manifests/ha/base/redis-ha/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ redis-ha:
masterGroupName: argocd
config:
save: "\"\""
bind: "0.0.0.0"
haproxy:
enabled: true
image:
Expand All @@ -17,3 +18,5 @@ redis-ha:
image:
tag: 7.0.5-alpine
containerSecurityContext: null
sentinel:
bind: "0.0.0.0"

0 comments on commit 18e006c

Please sign in to comment.