From f0270556884aff3aebd4b2566072a7c95de2a4b4 Mon Sep 17 00:00:00 2001 From: Peter Shilo Date: Mon, 15 Apr 2019 15:22:14 +0300 Subject: [PATCH] [redis-ha] Added sysctl init container same as in stable/redis (#12633) * [redis-ha] Added sysctl init container same as in stable/redis Signed-off-by: killmeplz * redis-ha Added host sys volume Signed-off-by: killmeplz --- stable/redis-ha/Chart.yaml | 2 +- stable/redis-ha/README.md | 25 ++++++++++++++++++- stable/redis-ha/templates/_helpers.tpl | 10 ++++++++ .../templates/redis-ha-statefulset.yaml | 20 +++++++++++++++ stable/redis-ha/values.yaml | 10 ++++++++ 5 files changed, 65 insertions(+), 2 deletions(-) diff --git a/stable/redis-ha/Chart.yaml b/stable/redis-ha/Chart.yaml index ae62e4bc61..fb30f7fddc 100644 --- a/stable/redis-ha/Chart.yaml +++ b/stable/redis-ha/Chart.yaml @@ -5,7 +5,7 @@ keywords: - redis - keyvalue - database -version: 3.3.5 +version: 3.4.0 appVersion: 5.0.3 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 1a60ef846b..f3978a4ee1 100644 --- a/stable/redis-ha/README.md +++ b/stable/redis-ha/README.md @@ -83,7 +83,14 @@ The following table lists the configurable parameters of the Redis chart and the | `exporter.extraArgs` | Additional args for the exporter | `{}` | | `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 | +| `hostPath.chown` | Run an init-container as root to set ownership on the hostPath | `true` | +| `sysctlImage.enabled` | Enable an init container to modify Kernel settings | `false` | +| `sysctlImage.command` | sysctlImage command to execute | [] | +| `sysctlImage.registry` | sysctlImage Init container registry | `docker.io` | +| `sysctlImage.repository` | sysctlImage Init container name | `bitnami/minideb` | +| `sysctlImage.tag` | sysctlImage Init container tag | `latest` | +| `sysctlImage.pullPolicy` | sysctlImage Init container pull policy | `Always` | +| `sysctlImage.mountHostSys` | Mount the host `/sys` folder to `/host-sys` | `false` | Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example, @@ -124,3 +131,19 @@ Sentinel options supported must be in the the `sentinel