diff --git a/chart/stash/templates/cleaner.yaml b/chart/stash/templates/cleaner.yaml index 1043ac77d..f31d33f53 100644 --- a/chart/stash/templates/cleaner.yaml +++ b/chart/stash/templates/cleaner.yaml @@ -16,6 +16,10 @@ spec: template: spec: serviceAccountName: {{ template "stash.serviceAccountName" . }} + {{- if .Values.imagePullSecrets }} + imagePullSecrets: +{{ toYaml .Values.imagePullSecrets | indent 6 }} + {{- end }} containers: - name: busybox image: {{ .Values.cleaner.registry }}/{{ .Values.cleaner.repository }}:{{ .Values.cleaner.tag }}