e5309b4b by Adam Heath

Finish up the result setting.

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