diff --git a/stable/redis-ha/Chart.yaml b/stable/redis-ha/Chart.yaml index 08655fb9fd..ff4e7f48b4 100644 --- a/stable/redis-ha/Chart.yaml +++ b/stable/redis-ha/Chart.yaml @@ -6,7 +6,7 @@ keywords: - redis - keyvalue - database -version: 3.7.9 +version: 3.7.10 appVersion: 5.0.5 description: Highly available Kubernetes implementation of Redis icon: https://upload.wikimedia.org/wikipedia/en/thumb/6/6b/Redis_Logo.svg/1200px-Redis_Logo.svg.png diff --git a/stable/redis-ha/README.md b/stable/redis-ha/README.md index fdc6391399..ca3674eb23 100644 --- a/stable/redis-ha/README.md +++ b/stable/redis-ha/README.md @@ -98,6 +98,9 @@ The following table lists the configurable parameters of the Redis chart and the | `haproxy.exporter.enabled`| Enable Prometheus metric scraping | `false` | | `haproxy.exporter.port` | Prometheus metric scraping port | `9101` | | `haproxy.init.resources` | Extra init resources | `{}` | +| `haproxy.timeout.connect` | haproxy.cfg `timeout connect` setting | `4s` | +| `haproxy.timeout.server` | haproxy.cfg `timeout server` setting | `30s` | +| `haproxy.timeout.client` | haproxy.cfg `timeout client` setting | `30s` | | `podDisruptionBudget` | Pod Disruption Budget rules | `{}` | | `hostPath.path` | Use this path on the host for data storage | not set | | `hostPath.chown` | Run an init-container as root to set ownership on the hostPath | `true` | diff --git a/stable/redis-ha/templates/redis-ha-configmap.yaml b/stable/redis-ha/templates/redis-ha-configmap.yaml index 2cf4a15c07..e2cf3e254b 100644 --- a/stable/redis-ha/templates/redis-ha-configmap.yaml +++ b/stable/redis-ha/templates/redis-ha-configmap.yaml @@ -143,9 +143,9 @@ data: {{- else }} defaults REDIS mode tcp - timeout connect 4s - timeout server 30s - timeout client 30s + timeout connect {{ .Values.haproxy.timeout.connect }} + timeout server {{ .Values.haproxy.timeout.server }} + timeout client {{ .Values.haproxy.timeout.client }} listen health_check_http_url bind :8888 diff --git a/stable/redis-ha/values.yaml b/stable/redis-ha/values.yaml index 45363d608d..55a9da7902 100644 --- a/stable/redis-ha/values.yaml +++ b/stable/redis-ha/values.yaml @@ -54,6 +54,10 @@ haproxy: port: 9101 init: resources: {} + timeout: + connect: 4s + server: 30s + client: 30s ## Role Based Access