Skip to content

Commit 7c653b1

Browse files
committed
Add haproxy timeout tunnel setting
Signed-off-by: Morten Larsen <[email protected]>
1 parent 8f5fc27 commit 7c653b1

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

charts/redis-ha/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ The following table lists the configurable parameters of the Redis chart and the
305305
| `haproxy.timeout.client` | haproxy.cfg `timeout client` setting | string | `"330s"` |
306306
| `haproxy.timeout.connect` | haproxy.cfg `timeout connect` setting | string | `"4s"` |
307307
| `haproxy.timeout.server` | haproxy.cfg `timeout server` setting | string | `"330s"` |
308+
| `haproxy.timeout.tunnel` | haproxy.cfg `timeout tunnel` setting | string | `nil` |
308309
| `haproxy.tls` | Enable TLS termination on HAproxy, This will create a volume mount | object | `{"certMountPath":"/tmp/","enabled":false,"keyName":null,"secretName":""}` |
309310
| `haproxy.tls.certMountPath` | Path to mount the secret that contains the certificates. haproxy | string | `"/tmp/"` |
310311
| `haproxy.tls.enabled` | If "true" this will enable TLS termination on haproxy | bool | `false` |

charts/redis-ha/templates/_configs.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,9 @@
513513
timeout server {{ .Values.haproxy.timeout.server }}
514514
timeout client {{ .Values.haproxy.timeout.client }}
515515
timeout check {{ .Values.haproxy.timeout.check }}
516+
{{- if .Values.haproxy.timeout.tunnel }}
517+
timeout tunnel {{ .Values.haproxy.timeout.tunnel }}
518+
{{- end }}
516519

517520
listen health_check_http_url
518521
bind {{ if .Values.haproxy.IPv6.enabled }}[::]{{ end }}:8888 {{ if .Values.haproxy.IPv6.enabled }}v4v6{{ end }}

charts/redis-ha/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,8 @@ haproxy:
239239
client: 330s
240240
# -- haproxy.cfg `timeout check` setting
241241
check: 2s
242+
# -- haproxy.cfg `timeout tunnel` setting
243+
tunnel: ""
242244
# -- haproxy.cfg `check inter` setting
243245
checkInterval: 1s
244246
# -- haproxy.cfg `check fall` setting

0 commit comments

Comments
 (0)