File tree Expand file tree Collapse file tree 3 files changed +34
-0
lines changed
Expand file tree Collapse file tree 3 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -44,3 +44,8 @@ dependencies:
4444 version : 5.1.0
4545 repository : https://charts.bitnami.com/bitnami
4646 condition : etcd.enabled
47+ - name : redis
48+ version : 12.3.2
49+ repository : https://charts.bitnami.com/bitnami
50+ condition : redis.enabled
51+
Original file line number Diff line number Diff line change 2424 [coordination]
2525 url = etcd://{{ index .Values "etcd" "fullnameOverride" }}:2379
2626 {{- end }}
27+ {{- if index .Values "redis" "enabled" }}
28+ [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
30+ {{- end }}
2731 {{- if index .Values "rabbitmq" "enabled" }}
2832 [messaging]
2933 url = amqp://{{ required "rabbitmq.auth.username is required!" (index .Values "rabbitmq" "auth" "username") }}:{{ required "rabbitmq.auth.password is required!" (index .Values "rabbitmq" "auth" "password") }}@{{ .Release.Name }}-rabbitmq:5672{{ required "rabbitmq.ingress.path is required!" (index .Values "rabbitmq" "ingress" "path") }}
Original file line number Diff line number Diff line change @@ -522,6 +522,31 @@ etcd:
522522 replicaCount : 3
523523 fullnameOverride : etcd
524524
525+ # #
526+ # # Redis HA configuration (3rd party chart dependency)
527+ # #
528+ # # For values.yaml reference:
529+ # # https://github.com/bitnami/charts/tree/master/bitnami/redis
530+ # #
531+ redis :
532+ # Change to `false` to disable in-cluster redis deployment.
533+ # Specify your external [coordination] connection parameters under st2.config
534+ enabled : true
535+ cluster :
536+ enabled : true
537+ slaveCount : 3
538+ # ## Sentinel settings. Sentinel is enabled for better resiliency.
539+ # ## https://docs.openstack.org/tooz/latest/user/drivers.html#redis
540+ # ## https://github.com/bitnami/charts/tree/master/bitnami/redis#master-slave-with-sentinel
541+ sentinel :
542+ enabled : true
543+ networkPolicy :
544+ enabled : false
545+ usePassword : false
546+ # password: "PLoT2g3gvD"
547+ metrics :
548+ enabled : false
549+
525550# #
526551# # External DNS configuration (3rd party chart dependency)
527552# #
You can’t perform that action at this time.
0 commit comments