File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 22
33## In Development
44
5+ ## v0.51.0
6+ * Added Redis with Sentinel to replace Etcd as backend coordinator (#167 )
7+
58## v0.50.0
69* Drop Helm ` v2 ` support and fully migrate to Helm ` v3 ` (#163 )
710* Switch dependencies from deprecated ` helm/charts ` to new Bitnami Subcharts (#163 )
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22# StackStorm version which refers to Docker images tag
33appVersion : 3.4dev
44name : stackstorm-ha
5- version : 0.50 .0
5+ version : 0.51 .0
66description : StackStorm K8s Helm Chart, optimized for running StackStorm in HA environment.
77home : https://stackstorm.com/
88icon : https://landscape.cncf.io/logos/stack-storm.svg
Original file line number Diff line number Diff line change @@ -83,11 +83,13 @@ Create the name of the stackstorm-ha service account to use
8383{ {- fail " value for redis.sentinel.enabled MUST be true" } }
8484{ {- end } }
8585{ {- $replicas := (int (index .Values " redis" " cluster" " slaveCount" )) } }
86+ { {- $master_name := (index .Values " redis" " sentinel" " masterSet" ) } }
87+ { {- $sentinel_port := (index .Values " redis" " sentinel" " port" ) } }
8688{ {- range $index0 := until $replicas -} }
8789 { {- if eq $index0 0 -} }
88- { { $.Release.Name } }-redis-node-{ { $index0 } }.{ { $.Release.Name } }-redis-headless:26379 ?sentinel=mymaster
90+ { { $.Release.Name } }-redis-node-{ { $index0 } }.{ { $.Release.Name } }-redis-headless:{ { $ sentinel_port } } ?sentinel={ { $ master_name } }
8991 { {- else -} }
90- &sentinel_fallback={ { $.Release.Name } }-redis-node-{ { $index0 } }.{ { $.Release.Name } }-redis-headless:26379
92+ &sentinel_fallback={ { $.Release.Name } }-redis-node-{ { $index0 } }.{ { $.Release.Name } }-redis-headless:{ { $ sentinel_port } }
9193 { {- end -} }
9294{ {- end -} }
9395{ {- end -} }
You can’t perform that action at this time.
0 commit comments