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
41835ac9
authored
2022-02-22 13:49:14 -0600
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Update to use gotemplate instead of jsonpath for the output.
1 parent
e5309b4b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
task-postgresql-pod.yaml
task-postgresql-pod.yaml
View file @
41835ac
...
...
@@ -69,7 +69,7 @@ spec:
#!/usr/bin/env bash
set -ex
kubectl create -f /workspace/postgresql-pod.yaml -o
jsonpath --template '{.metadata.name}'/
> $(results.service-name.path)
kubectl create -f /workspace/postgresql-pod.yaml -o
go-template --template '{{ if eq .kind "Service" }}{{.metadata.name }}{{ end }}'
> $(results.service-name.path)
echo "servie name: $(cat $(results.service-name.path))"
---
...
...
Please
register
or
sign in
to post a comment