Skip to content

Commit 4d05c35

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

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

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)