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 }}