Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[stable/velero] Fix Restic DaemonSet template syntax #16960

Merged
merged 1 commit into from
Sep 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stable/velero/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 1.1.0
description: A Helm chart for velero
name: velero
version: 2.1.5
version: 2.1.6
home: https://github.com/heptio/velero
icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png
sources:
Expand Down
14 changes: 7 additions & 7 deletions stable/velero/templates/restic-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ spec:
- name: VELERO_SCRATCH_DIR
value: /scratch
{{- if and .Values.credentials.useSecret (or (eq $provider "aws") (eq $provider "gcp")) }}
{{- if eq $provider "aws" }}
- name: AWS_SHARED_CREDENTIALS_FILE
value: /credentials/cloud
{{- else }}
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /credentials/cloud
{{- end }}
{{- if eq $provider "aws" }}
- name: AWS_SHARED_CREDENTIALS_FILE
value: /credentials/cloud
{{- else }}
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /credentials/cloud
{{- end }}
{{- end }}
{{- if eq $provider "minio" }}
- name: AWS_SHARED_CREDENTIALS_FILE
Expand Down