diff --git a/manifests/ha/base/redis-ha/chart/upstream.yaml b/manifests/ha/base/redis-ha/chart/upstream.yaml index 06c8e49afa748..5f440b805f927 100644 --- a/manifests/ha/base/redis-ha/chart/upstream.yaml +++ b/manifests/ha/base/redis-ha/chart/upstream.yaml @@ -39,6 +39,7 @@ data: redis.conf: | dir "/data" port 6379 + bind 0.0.0.0 maxmemory 0 maxmemory-policy volatile-lru min-replicas-max-lag 5 @@ -55,6 +56,7 @@ data: sentinel failover-timeout argocd 180000 maxclients 10000 sentinel parallel-syncs argocd 5 + bind 0.0.0.0 init.sh: | echo "$(date) Start..." @@ -852,7 +854,7 @@ spec: template: metadata: annotations: - checksum/init-config: f967dc53802e37a7bd0a7097785686e65cefc3002881b7c2a1936b3988698c11 + checksum/init-config: 7128bfbb51eafaffe3c33b1b463e15f0cf6514cec570f9d9c4f2396f28c724ac labels: release: argocd app: redis-ha diff --git a/manifests/ha/base/redis-ha/chart/values.yaml b/manifests/ha/base/redis-ha/chart/values.yaml index 8f6726d3dc7da..c704916dc2c8a 100644 --- a/manifests/ha/base/redis-ha/chart/values.yaml +++ b/manifests/ha/base/redis-ha/chart/values.yaml @@ -5,9 +5,13 @@ redis-ha: masterGroupName: argocd config: save: "\"\"" + bind: "0.0.0.0" haproxy: enabled: true image: tag: 2.0.20-alpine image: tag: 6.2.1-alpine + sentinel: + config: + replaceme: "0.0.0.0" \ No newline at end of file diff --git a/manifests/ha/base/redis-ha/generate.sh b/manifests/ha/base/redis-ha/generate.sh index 7ef509a67736d..4b074a3786485 100755 --- a/manifests/ha/base/redis-ha/generate.sh +++ b/manifests/ha/base/redis-ha/generate.sh @@ -14,3 +14,4 @@ helm template argocd ./chart \ sed -e 's/check inter 1s/check inter 3s/' ./chart/upstream_orig.yaml >> ./chart/upstream.yaml && rm ./chart/upstream_orig.yaml sed -i.bak 's/timeout server 30s/timeout server 6m/' ./chart/upstream.yaml && rm ./chart/upstream.yaml.bak sed -i.bak 's/timeout client 30s/timeout client 6m/' ./chart/upstream.yaml && rm ./chart/upstream.yaml.bak +sed -i.bak -E 's/^([[:space:]]){8}sentinel replaceme argocd/ bind/' ./chart/upstream.yaml && rm ./chart/upstream.yaml.bak \ No newline at end of file diff --git a/manifests/ha/install.yaml b/manifests/ha/install.yaml index e9a2c94fee524..46ce452e16c62 100644 --- a/manifests/ha/install.yaml +++ b/manifests/ha/install.yaml @@ -2834,6 +2834,7 @@ data: redis.conf: | dir "/data" port 6379 + bind 0.0.0.0 maxmemory 0 maxmemory-policy volatile-lru min-replicas-max-lag 5 @@ -2849,6 +2850,7 @@ data: sentinel failover-timeout argocd 180000 maxclients 10000 sentinel parallel-syncs argocd 5 + bind 0.0.0.0 kind: ConfigMap metadata: labels: @@ -3558,7 +3560,7 @@ spec: template: metadata: annotations: - checksum/init-config: f967dc53802e37a7bd0a7097785686e65cefc3002881b7c2a1936b3988698c11 + checksum/init-config: 7128bfbb51eafaffe3c33b1b463e15f0cf6514cec570f9d9c4f2396f28c724ac labels: app.kubernetes.io/name: argocd-redis-ha spec: diff --git a/manifests/ha/namespace-install.yaml b/manifests/ha/namespace-install.yaml index d32e803a44908..d7d9c4411cd9c 100644 --- a/manifests/ha/namespace-install.yaml +++ b/manifests/ha/namespace-install.yaml @@ -2749,6 +2749,7 @@ data: redis.conf: | dir "/data" port 6379 + bind 0.0.0.0 maxmemory 0 maxmemory-policy volatile-lru min-replicas-max-lag 5 @@ -2764,6 +2765,7 @@ data: sentinel failover-timeout argocd 180000 maxclients 10000 sentinel parallel-syncs argocd 5 + bind 0.0.0.0 kind: ConfigMap metadata: labels: @@ -3473,7 +3475,7 @@ spec: template: metadata: annotations: - checksum/init-config: f967dc53802e37a7bd0a7097785686e65cefc3002881b7c2a1936b3988698c11 + checksum/init-config: 7128bfbb51eafaffe3c33b1b463e15f0cf6514cec570f9d9c4f2396f28c724ac labels: app.kubernetes.io/name: argocd-redis-ha spec: