Skip to content

Commit

Permalink
Update restic-daemonset.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Kévin Dunglas <dunglas@gmail.com>
  • Loading branch information
dunglas committed Apr 23, 2020
1 parent 957bbda commit b06a092
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions charts/velero/templates/restic-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,21 @@ spec:
value: /credentials/cloud
{{- end }}
{{- end }}
{{- with .Values.configuration.extraEnvVars }}
{{- range $key, $value := . }}
- name: {{ default "none" $key | quote }}
value: {{ default "none" $value | quote }}
{{- end }}
{{- end }}
{{- with .Values.credentials.extraEnvVars }}
{{- range $key, $value := . }}
- name: {{ default "none" $key }}
valueFrom:
secretKeyRef:
name: {{ include "velero.fullname" $ }}
key: {{ default "none" $key }}
{{- end }}
{{- end }}
securityContext:
privileged: {{ .Values.restic.privileged }}
{{- with .Values.restic.securityContext }}
Expand Down

0 comments on commit b06a092

Please sign in to comment.