File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -107,16 +107,16 @@ spec:
107
107
{{- if .Values.credentials.useSecret }}
108
108
{{- if eq $provider "aws" }}
109
109
- name : AWS_SHARED_CREDENTIALS_FILE
110
- value : /credentials/{{ .Values.credentials.existingSecretKey }}
110
+ value : /credentials/cloud
111
111
{{- else if eq $provider "gcp"}}
112
112
- name : GOOGLE_APPLICATION_CREDENTIALS
113
- value : /credentials/{{ .Values.credentials.existingSecretKey }}
113
+ value : /credentials/cloud
114
114
{{- else if eq $provider "azure" }}
115
115
- name : AZURE_CREDENTIALS_FILE
116
- value : /credentials/{{ .Values.credentials.existingSecretKey }}
116
+ value : /credentials/cloud
117
117
{{- else if eq $provider "alibabacloud" }}
118
118
- name : ALIBABA_CLOUD_CREDENTIALS_FILE
119
- value : /credentials/{{ .Values.credentials.existingSecretKey }}
119
+ value : /credentials/cloud
120
120
{{- end }}
121
121
{{- end }}
122
122
{{- with .Values.configuration.extraEnvVars }}
@@ -152,6 +152,9 @@ spec:
152
152
- name : cloud-credentials
153
153
secret :
154
154
secretName : {{ include "velero.secretName" . }}
155
+ items :
156
+ - key : {{ .Values.credentials.existingSecretKey }}
157
+ path : cloud
155
158
{{- end }}
156
159
- name : plugins
157
160
emptyDir : {}
You can’t perform that action at this time.
0 commit comments