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

Commit

Permalink
[stable/velero] fix restic DaemonSet template syntax (#16960)
Browse files Browse the repository at this point in the history
Signed-off-by: Mathias Merscher <Mathias.Merscher@dg-i.net>
  • Loading branch information
madddi authored and k8s-ci-robot committed Sep 9, 2019
1 parent ebc4f85 commit 3952441
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion stable/velero/Chart.yaml
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
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

0 comments on commit 3952441

Please sign in to comment.