Skip to content

Commit

Permalink
Add http-credentials configmap to batch jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
tcassaert committed Dec 13, 2022
1 parent fb5c148 commit 0444fb4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions openeogeotrellis/deploy/sparkapplication.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ spec:
path: "/opt/spark_tmp/{{ job_id }}"
type: "DirectoryOrCreate"
{%- endif %}
- name: "http-credentials-configmap"
configMap:
name: "http-credentials"
driver:
initContainers:
{%- if mount_tmp %}
Expand Down Expand Up @@ -144,6 +147,8 @@ spec:
mountPath: "/eodata"
- name: "shared-pod-volume"
mountPath: "/shared_pod_volume"
- name: "http-credentials-configmap"
mountPath: "/opt/http_credentials"
{%- if mount_tmp %}
- name: "spark-local-dir-1"
mountPath: "/spark_tmp"
Expand Down Expand Up @@ -203,6 +208,8 @@ spec:
mountPath: "/eodata"
- name: "shared-pod-volume"
mountPath: "/shared_pod_volume"
- name: "http-credentials-configmap"
mountPath: "/opt/http_credentials"
{%- if mount_tmp %}
- name: "spark-local-dir-1"
mountPath: "/spark_tmp"
Expand Down

0 comments on commit 0444fb4

Please sign in to comment.