Skip to content

Commit 533300f

Browse files
committed
Add haproxy timeout tunnel setting
Signed-off-by: Morten Larsen <[email protected]>
1 parent 78c4b46 commit 533300f

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
@@ -307,6 +307,7 @@ The following table lists the configurable parameters of the Redis chart and the
307307
| `haproxy.timeout.client` | haproxy.cfg `timeout client` setting | string | `"330s"` |
308308
| `haproxy.timeout.connect` | haproxy.cfg `timeout connect` setting | string | `"4s"` |
309309
| `haproxy.timeout.server` | haproxy.cfg `timeout server` setting | string | `"330s"` |
310+
| `haproxy.timeout.tunnel` | haproxy.cfg `timeout tunnel` setting | string | `nil` |
310311
| `haproxy.tls` | Enable TLS termination on HAproxy, This will create a volume mount | object | `{"certMountPath":"/tmp/","enabled":false,"keyName":null,"secretName":""}` |
311312
| `haproxy.tls.certMountPath` | Path to mount the secret that contains the certificates. haproxy | string | `"/tmp/"` |
312313
| `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
@@ -549,6 +549,9 @@
549549
timeout server {{ .Values.haproxy.timeout.server }}
550550
timeout client {{ .Values.haproxy.timeout.client }}
551551
timeout check {{ .Values.haproxy.timeout.check }}
552+
{{- if .Values.haproxy.timeout.tunnel }}
553+
timeout tunnel {{ .Values.haproxy.timeout.tunnel }}
554+
{{- end }}
552555

553556
listen health_check_http_url
554557
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)