Created
August 26, 2019 20:33
-
-
Save nrb/c0411767dddb48c3f1de9ffae7e6b4ed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
env: | |
- name: VELERO_SCRATCH_DIR | |
value: /scratch | |
- name: VELERO_NAMESPACE | |
valueFrom: | |
fieldRef: | |
apiVersion: v1 | |
fieldPath: metadata.namespace | |
{{- if and .Values.credentials.useSecret (or (eq $provider "aws") (eq $provider "gcp")) }} | |
{{- if eq $provider "aws" }} | |
- name: AWS_SHARED_CREDENTIALS_FILE | |
{{- else }} | |
- name: GOOGLE_APPLICATION_CREDENTIALS | |
{{- end }} | |
value: /credentials/cloud | |
{{- end }} | |
{{- with .Values.configuration.extraEnvVars }} | |
{{- range $key, $value := . }} | |
- name: {{ default "none" $key }} | |
value: {{ default "none" $value }} | |
{{- end }} | |
{{- end }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment