From 9dea0b635734c9725ea5e016d7712a1f3eb69f74 Mon Sep 17 00:00:00 2001 From: Adonis Dutra Date: Thu, 27 Jun 2024 17:08:47 +0100 Subject: [PATCH] fix: fix imagePullSecrets to velero server serviceaccount #595 Signed-off-by: Adonis Dutra --- charts/velero/Chart.yaml | 2 +- charts/velero/templates/serviceaccount-server.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/velero/Chart.yaml b/charts/velero/Chart.yaml index 60af2be8..f33c7074 100644 --- a/charts/velero/Chart.yaml +++ b/charts/velero/Chart.yaml @@ -3,7 +3,7 @@ appVersion: 1.14.0 kubeVersion: ">=1.16.0-0" description: A Helm chart for velero name: velero -version: 7.1.0 +version: 7.1.1 home: https://github.com/vmware-tanzu/velero icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png sources: diff --git a/charts/velero/templates/serviceaccount-server.yaml b/charts/velero/templates/serviceaccount-server.yaml index bfaf0d8b..76feca05 100644 --- a/charts/velero/templates/serviceaccount-server.yaml +++ b/charts/velero/templates/serviceaccount-server.yaml @@ -17,9 +17,9 @@ metadata: {{- toYaml . | nindent 4 }} {{- end }} {{- if .Values.serviceAccount.server.imagePullSecrets }} - imagePullSecrets: - {{- range .Values.serviceAccount.server.imagePullSecrets }} - - name: {{ . }} - {{- end }} +imagePullSecrets: +{{- range .Values.serviceAccount.server.imagePullSecrets }} + - name: {{ . }} +{{- end }} {{- end }} {{- end }}