Skip to content

Commit

Permalink
Add missing imagePullPolicy for init-sysctl (helm#13018)
Browse files Browse the repository at this point in the history
The sysctlImage.pullPolicy value is documented, but is to used
in the templates
Signed-off-by: eduardobaitello <[email protected]>
  • Loading branch information
eduardobaitello authored and eyenx committed May 28, 2019
1 parent d452453 commit d820683
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/redis/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
1 change: 1 addition & 0 deletions stable/redis/templates/redis-master-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
1 change: 1 addition & 0 deletions stable/redis/templates/redis-slave-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit d820683

Please sign in to comment.