From 35dd675f85bcddd7a7d8266b48c81b642d33a5b7 Mon Sep 17 00:00:00 2001 From: Martin Albiez Date: Wed, 17 Apr 2024 12:57:56 +0200 Subject: [PATCH] Made cleanup hook job honor pullSecret settings --- charts/k8up/Chart.yaml | 2 +- charts/k8up/templates/cleanup-hook.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/k8up/Chart.yaml b/charts/k8up/Chart.yaml index 5ba505310..4faf2c31b 100644 --- a/charts/k8up/Chart.yaml +++ b/charts/k8up/Chart.yaml @@ -6,7 +6,7 @@ keywords: - backup - operator - restic -version: 4.5.1 +version: 4.5.2 sources: - https://github.com/k8up-io/k8up maintainers: diff --git a/charts/k8up/templates/cleanup-hook.yaml b/charts/k8up/templates/cleanup-hook.yaml index 7133feb4e..24c2c163e 100644 --- a/charts/k8up/templates/cleanup-hook.yaml +++ b/charts/k8up/templates/cleanup-hook.yaml @@ -79,6 +79,10 @@ spec: labels: {{- include "k8up.selectorLabels" . | nindent 8 }} spec: + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} restartPolicy: Never serviceAccountName: cleanup-service-account containers: