Skip to content

Commit

Permalink
Merge pull request #29 from myheritage/add_support_for_serviceaccount…
Browse files Browse the repository at this point in the history
…_annotations

Adding support for defining annotations on the serviceaccount, which …
  • Loading branch information
Carlisia Campos authored Jan 13, 2020
2 parents 0530e63 + e7e01e8 commit 7a1ffd0
Show file tree
Hide file tree
Showing 3 changed files with 5 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 @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 1.2.0
description: A Helm chart for velero
name: velero
version: 2.8.0
version: 2.8.1
home: https://github.com/vmware-tanzu/velero
icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png
sources:
Expand Down
3 changes: 3 additions & 0 deletions charts/velero/templates/serviceaccount-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "velero.serverServiceAccount" . }}
{{- if .Values.serviceAccount.server.annotations }}
annotations: {{ toYaml .Values.serviceAccount.server.annotations | nindent 4 }}
{{- end }}
labels:
app.kubernetes.io/name: {{ include "velero.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
Expand Down
1 change: 1 addition & 0 deletions charts/velero/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ serviceAccount:
server:
create: true
name:
annotations:

# 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 7a1ffd0

Please sign in to comment.