58353b7f by Adam Heath

Rename the configmap mounts, with a task- prefix.

1 parent 6b3687d0
......@@ -18,9 +18,9 @@ spec:
# results:
# - name: job-name
volumes:
- name: postgresql-pod-kustomization
- name: task-postgresql-pod-kustomization
configMap:
name: postgresql-pod-kustomization
name: task-postgresql-pod-kustomization
steps:
- name: mount-postgresql-pod-kustomization
image: $(params.bash-image)
......@@ -28,7 +28,7 @@ spec:
#!/usr/bin/env bash
set -ex
mkdir /workspace/kustomizations
cd /srv/postgresql-pod-kustomization-cm/
cd /srv/task-postgresql-pod-kustomization-cm/
for file in *; do
translated="$(echo "$file" | sed "s,_,/,g")"
dir="$(dirname "$translated")"
......@@ -37,8 +37,8 @@ spec:
cp "$file" "/workspace/kustomizations/$dir/$base"
done
volumeMounts:
- name: postgresql-pod-kustomization
mountPath: /srv/postgresql-pod-kustomization-cm
- name: task-postgresql-pod-kustomization
mountPath: /srv/task-postgresql-pod-kustomization-cm
- name: run-kustomize-4-x
image: $(params.kustomize-image)
script: |
......