Skip to content
Snippets Groups Projects

Add support for S3 download and upload

Merged David Hoese requested to merge feature-s3-upload into master
Files
11
@@ -95,6 +95,40 @@ spec:
value: "/work/tmp"
- name: DST_SUBPATH
value: "{{ .Values.destination.subPath }}"
{{- if .Values.destination.s3ConfigMap }}
- name: "AWS_S3_ENDPOINT"
valueFrom:
configMapKeyRef:
name: "{{ .Values.destination.s3ConfigMap }}"
key: "{{ .Values.destination.s3EndpointHostKey }}"
- name: "AWS_S3_ENDPOINT_PORT"
valueFrom:
configMapKeyRef:
name: "{{ .Values.destination.s3ConfigMap }}"
key: "{{ .Values.destination.s3EndpointPortKey }}"
- name: DST_BUCKET
valueFrom:
configMapKeyRef:
name: "{{ .Values.destination.s3ConfigMap}}"
key: "{{ .Values.destination.s3BucketNameKey }}"
{{- else }}
- name: "AWS_S3_ENDPOINT"
value: "{{ .Values.destination.s3Endpoint }}"
- name: DST_BUCKET
value: "{{ .Values.destination.s3Bucket }}"
{{- end }}
{{- if .Values.destination.s3Secret }}
- name: AWS_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
name: {{ .Values.destination.s3Secret }}
key: {{ .Values.destination.s3AccessKey}}
- name: AWS_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: {{ .Values.destination.s3Secret }}
key: {{ .Values.destination.s3SecretKey}}
{{- end }}
{{- with .Values.rabbitIn }}
{{- if .host }}
- name: RABBITMQ_HOST
Loading