Skip to content
Snippets Groups Projects

Add initial attempt at S3 geotiff reading

Merged David Hoese requested to merge feature-s3-geotiffs into master
Files
15
@@ -75,6 +75,28 @@ spec:
value: "/secrets/postgres-password"
{{- end }}
{{- end }}
{{- if .Values.imageSource.s3ConfigMap }}
- name: "AWS_S3_ENDPOINT"
valueFrom:
configMapKeyRef:
name: "{{ .Values.imageSource.s3ConfigMap }}"
key: "{{ .Values.imageSource.s3EndpointHostKey }}:{{ .Values.imageSource.s3EndpointPortKey }}"
{{- else }}
- name: "AWS_S3_ENDPOINT"
value: "{{ .Values.imageSource.s3Endpoint }}"
{{- end }}
{{- if .Values.imageSource.s3Secret }}
- name: AWS_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
name: {{ .Values.imageSource.s3Secret }}
key: {{ .Values.imageSource.s3AccessKey}}
- name: AWS_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: {{ .Values.imageSource.s3Secret }}
key: {{ .Values.imageSource.s3SecretKey}}
{{- end }}
volumeMounts:
- name: src
mountPath: "/data"
Loading