diff --git a/charts/k8up/templates/cleanup-hook.yaml b/charts/k8up/templates/cleanup-hook.yaml index a0375f635..e7b5f2211 100644 --- a/charts/k8up/templates/cleanup-hook.yaml +++ b/charts/k8up/templates/cleanup-hook.yaml @@ -82,6 +82,10 @@ spec: spec: restartPolicy: Never serviceAccountName: cleanup-service-account + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} containers: