File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ metadata:
88 annotations :
99 " helm.sh/hook " : pre-install
1010data :
11- {{ if eq .Values.global.logger_redis_location "on-cluster"}}
11+ {{ if eq .Values.global.redis_location "on-cluster"}}
1212 password : {{ randAlphaNum 32 | b64enc }}
13- {{ else if eq .Values.global.logger_redis_location "off-cluster"}}
13+ {{ else if eq .Values.global.redis_location "off-cluster"}}
1414 addrs : {{ .Values.addrs | b64enc }}
1515 password : {{ .Values.password | b64enc }}
1616 {{ end }}
Original file line number Diff line number Diff line change 1- {{- if eq .Values.global.logger_redis_location "on-cluster" }}
1+ {{- if eq .Values.global.redis_location "on-cluster" }}
22apiVersion : apps/v1
33kind : StatefulSet
44metadata :
Original file line number Diff line number Diff line change 1- {{- if eq .Values.global.logger_redis_location "on-cluster" }}
1+ {{- if eq .Values.global.redis_location "on-cluster" }}
22apiVersion : v1
33kind : Service
44metadata :
Original file line number Diff line number Diff line change @@ -6,17 +6,17 @@ docker_registry: ""
66# limits_memory: "50Mi"
77
88global :
9- # Set the location of Workflow's logger-specific Redis instance
9+ # Set the location of Workflow's redis instance
1010 #
1111 # Valid values are:
1212 # - on-cluster: Run Redis within the Kubernetes cluster
13- # - off-cluster: Run Redis outside the Kubernetes cluster (configure in loggerRedis section)
14- logger_redis_location : " on-cluster"
13+ # - off-cluster: Run Redis outside the Kubernetes cluster (configure in redis section)
14+ redis_location : " on-cluster"
1515
16- # The following parameters are configured only when using an on-cluster Redis instance for logger
16+ # The following parameters are configured only when using an on-cluster Redis instance
1717replicas : 1
1818port : " 6379"
1919
20- # The following parameters are configured only when using an off-cluster Redis instance for logger
20+ # The following parameters are configured only when using an off-cluster Redis instance
2121addrs : " " # A list of clusters: "127.0.0.1:7001/1,127.0.0.2:7002/1"
2222password : " redis password" # "" == no password
You can’t perform that action at this time.
0 commit comments