From 269ee63ea20f806996e1377751e09ff2ac8e6c9a Mon Sep 17 00:00:00 2001 From: Eduardo Baitello Date: Mon, 15 Apr 2019 05:20:00 -0300 Subject: [PATCH] Add missing imagePullPolicy for init-sysctl (#13018) The sysctlImage.pullPolicy value is documented, but is to used in the templates Signed-off-by: eduardobaitello --- stable/redis/Chart.yaml | 2 +- stable/redis/templates/redis-master-statefulset.yaml | 1 + stable/redis/templates/redis-slave-deployment.yaml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/stable/redis/Chart.yaml b/stable/redis/Chart.yaml index 44f5c950fbfe..ca22995be4d9 100644 --- a/stable/redis/Chart.yaml +++ b/stable/redis/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: redis -version: 6.4.4 +version: 6.4.5 appVersion: 4.0.14 description: Open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets. keywords: diff --git a/stable/redis/templates/redis-master-statefulset.yaml b/stable/redis/templates/redis-master-statefulset.yaml index 1e2fe853b23f..c895635a7644 100644 --- a/stable/redis/templates/redis-master-statefulset.yaml +++ b/stable/redis/templates/redis-master-statefulset.yaml @@ -170,6 +170,7 @@ spec: {{- if .Values.sysctlImage.enabled }} - name: init-sysctl image: {{ template "redis.sysctl.image" . }} + imagePullPolicy: {{ default "" .Values.sysctlImage.pullPolicy | quote }} resources: {{ toYaml .Values.sysctlImage.resources | indent 10 }} {{- if .Values.sysctlImage.mountHostSys }} diff --git a/stable/redis/templates/redis-slave-deployment.yaml b/stable/redis/templates/redis-slave-deployment.yaml index 3e97de00b8e4..a04e34bc9832 100644 --- a/stable/redis/templates/redis-slave-deployment.yaml +++ b/stable/redis/templates/redis-slave-deployment.yaml @@ -166,6 +166,7 @@ spec: initContainers: - name: init-sysctl image: {{ template "redis.sysctl.image" . }} + imagePullPolicy: {{ default "" .Values.sysctlImage.pullPolicy | quote }} resources: {{ toYaml .Values.sysctlImage.resources | indent 10 }} {{- if .Values.sysctlImage.mountHostSys }}