Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
tekton-postgresql
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
58353b7f
authored
2022-02-22 12:15:56 -0600
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Rename the configmap mounts, with a task- prefix.
1 parent
6b3687d0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
task-postgresql-pod.yaml
task-postgresql-pod.yaml
View file @
58353b7
...
...
@@ -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
:
|
...
...
Please
register
or
sign in
to post a comment