Skip to content

Commit

Permalink
feat(issue-584): Adds ImagePullSecrets to Velero server ServiceAccount
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian-RG <[email protected]>
  • Loading branch information
Sebastian-RG committed Jun 2, 2024
1 parent ab14c00 commit 0cf899e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/velero/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: 1.13.2
kubeVersion: ">=1.16.0-0"
description: A Helm chart for velero
name: velero
version: 6.5.0
version: 6.6.0
home: https://github.com/vmware-tanzu/velero
icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png
sources:
Expand Down
6 changes: 6 additions & 0 deletions charts/velero/templates/serviceaccount-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,10 @@ metadata:
{{- with .Values.serviceAccount.server.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- if .Values.serviceAccount.server.imagePullSecrets }}
imagePullSecrets:
{{- range .Values.serviceAccount.server.imagePullSecrets }}
- name: {{ . }}
{{- end }}
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/velero/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,8 @@ serviceAccount:
name:
annotations:
labels:
imagePullSecrets: []
# - registrySecretName

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

0 comments on commit 0cf899e

Please sign in to comment.