Skip to content

Commit 21f5709

Browse files
committed
Use the correct templated name for redis cluster connection string
1 parent ed52127 commit 21f5709

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/configmaps_st2-conf.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ data:
2626
{{- end }}
2727
{{- if index .Values "redis" "enabled" }}
2828
[coordination]
29-
url = redis://st2ha-redis-node-0.st2ha-redis-headless:26379?sentinel=mymaster&sentinel_fallback=st2ha-redis-node-1.st2ha-redis-headless:26379&sentinel_fallback=st2ha-redis-node-2.st2ha-redis-headless:26379
29+
url = redis://{{ .Release.Name }}-redis-node-0.{{ .Release.Name }}-redis-headless:26379?sentinel=mymaster&sentinel_fallback={{ .Release.Name }}-redis-node-1.{{ .Release.Name }}-redis-headless:26379&sentinel_fallback={{ .Release.Name }}-redis-node-2.{{ .Release.Name }}-redis-headless:26379
3030
{{- end }}
3131
{{- if index .Values "rabbitmq" "enabled" }}
3232
[messaging]

values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ rabbitmq:
517517
etcd:
518518
# Change to `false` to disable in-cluster ectd deployment.
519519
# Specify your external [coordination] connection parameters under st2.config
520-
enabled: true
520+
enabled: false
521521
statefulset:
522522
replicaCount: 3
523523
fullnameOverride: etcd

0 commit comments

Comments
 (0)