From 090fc3c36960b48f24a712101767feabfdff8eec Mon Sep 17 00:00:00 2001 From: Travis Nielsen Date: Fri, 23 Jan 2026 14:14:34 -0700 Subject: [PATCH] helm: set default ceph image pull policy The image pull policy was expected to be set in the cephcluster CR or else the helm deployment would fail. Now we set the expected default to pull if not present. Signed-off-by: Travis Nielsen --- deploy/charts/rook-ceph-cluster/templates/cephcluster.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy/charts/rook-ceph-cluster/templates/cephcluster.yaml b/deploy/charts/rook-ceph-cluster/templates/cephcluster.yaml index b75253e58..41075e9df 100644 --- a/deploy/charts/rook-ceph-cluster/templates/cephcluster.yaml +++ b/deploy/charts/rook-ceph-cluster/templates/cephcluster.yaml @@ -27,7 +27,9 @@ spec: cephVersion: image: "{{ .repository }}:{{ .tag }}" allowUnsupported: {{ .allowUnsupported }} - imagePullPolicy: {{ .imagePullPolicy }} + {{- with .imagePullPolicy }} + imagePullPolicy: {{ . }} + {{- end }} {{- end }} {{- .Values.cephClusterSpec | toYaml | nindent 2 }}