Skip to content

Commit 0cf899e

Browse files
committed
feat(issue-584): Adds ImagePullSecrets to Velero server ServiceAccount
Signed-off-by: Sebastian-RG <[email protected]>
1 parent ab14c00 commit 0cf899e

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

charts/velero/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ appVersion: 1.13.2
33
kubeVersion: ">=1.16.0-0"
44
description: A Helm chart for velero
55
name: velero
6-
version: 6.5.0
6+
version: 6.6.0
77
home: https://github.com/vmware-tanzu/velero
88
icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png
99
sources:

charts/velero/templates/serviceaccount-server.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,10 @@ metadata:
1616
{{- with .Values.serviceAccount.server.labels }}
1717
{{- toYaml . | nindent 4 }}
1818
{{- end }}
19+
{{- if .Values.serviceAccount.server.imagePullSecrets }}
20+
imagePullSecrets:
21+
{{- range .Values.serviceAccount.server.imagePullSecrets }}
22+
- name: {{ . }}
23+
{{- end }}
24+
{{- end }}
1925
{{- end }}

charts/velero/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,8 @@ serviceAccount:
485485
name:
486486
annotations:
487487
labels:
488+
imagePullSecrets: []
489+
# - registrySecretName
488490

489491
# Info about the secret to be used by the Velero deployment, which
490492
# should contain credentials for the cloud provider IAM account you've

0 commit comments

Comments
 (0)