Skip to content

Commit

Permalink
renaming secret file to align with velero install
Browse files Browse the repository at this point in the history
  • Loading branch information
kav committed Aug 18, 2020
1 parent 5d05683 commit 5862737
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions charts/velero/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,16 +107,16 @@ spec:
{{- if .Values.credentials.useSecret }}
{{- if eq $provider "aws" }}
- name: AWS_SHARED_CREDENTIALS_FILE
value: /credentials/{{ .Values.credentials.existingSecretKey }}
value: /credentials/cloud
{{- else if eq $provider "gcp"}}
- name: GOOGLE_APPLICATION_CREDENTIALS
value: /credentials/{{ .Values.credentials.existingSecretKey }}
value: /credentials/cloud
{{- else if eq $provider "azure" }}
- name: AZURE_CREDENTIALS_FILE
value: /credentials/{{ .Values.credentials.existingSecretKey }}
value: /credentials/cloud
{{- else if eq $provider "alibabacloud" }}
- name: ALIBABA_CLOUD_CREDENTIALS_FILE
value: /credentials/{{ .Values.credentials.existingSecretKey }}
value: /credentials/cloud
{{- end }}
{{- end }}
{{- with .Values.configuration.extraEnvVars }}
Expand Down Expand Up @@ -152,6 +152,9 @@ spec:
- name: cloud-credentials
secret:
secretName: {{ include "velero.secretName" . }}
items:
- key: {{ .Values.credentials.existingSecretKey }}
path: cloud
{{- end }}
- name: plugins
emptyDir: {}
Expand Down

0 comments on commit 5862737

Please sign in to comment.