e5309b4b by Adam Heath

Finish up the result setting.

1 parent f3c5b19f
...@@ -15,8 +15,8 @@ spec: ...@@ -15,8 +15,8 @@ spec:
15 default: bash 15 default: bash
16 - name: kustomize-image 16 - name: kustomize-image
17 default: us.gcr.io/k8s-artifacts-prod/kustomize/kustomize:v4.5.2 17 default: us.gcr.io/k8s-artifacts-prod/kustomize/kustomize:v4.5.2
18 # results: 18 results:
19 # - name: job-name 19 - name: service-name
20 volumes: 20 volumes:
21 - name: task-postgresql-pod-kustomization 21 - name: task-postgresql-pod-kustomization
22 configMap: 22 configMap:
...@@ -69,7 +69,7 @@ spec: ...@@ -69,7 +69,7 @@ spec:
69 #!/usr/bin/env bash 69 #!/usr/bin/env bash
70 70
71 set -ex 71 set -ex
72 kubectl create -f /workspace/postgresql-pod.yaml -o jsonpath --template '{.metadata.name}'/ > /workspace/create-output.json 72 kubectl create -f /workspace/postgresql-pod.yaml -o jsonpath --template '{.metadata.name}'/ > $(results.service-name.path)
73 cat /workspace/create-output.json 73 echo "servie name: $(cat $(results.service-name.path))"
74 74
75 --- 75 ---
......