1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-16 01:06:27 +00:00
prometheus-operator/contrib/kube-prometheus/build.sh
Frederic Branczyk 4eb7caab28
Address comments
2018-05-06 08:29:52 -07:00

7 lines
253 B
Bash
Executable file

#!/usr/bin/env bash
set -e
set -x
# optional, but we would like to generate yaml, not json
jsonnet -J vendor -m manifests example.jsonnet | xargs -I{} sh -c 'cat $1 | gojsontoyaml > $1.yaml; rm $1' -- {}