Skip to content
Snippets Groups Projects
Commit 0461c850 authored by Max Leonard Inden's avatar Max Leonard Inden
Browse files

docs: Run embedmd on both Docs and kube-prometheus README.md

parent 0124e8c2
Branches
Tags
No related merge requests found
...@@ -83,9 +83,11 @@ To compile the above and get each manifest in a separate file on disk use the fo ...@@ -83,9 +83,11 @@ To compile the above and get each manifest in a separate file on disk use the fo
#!/usr/bin/env bash #!/usr/bin/env bash
set -e set -e
set -x set -x
# only exit with zero if all commands of the pipeline exit successfully
set -o pipefail
# optional, but we would like to generate yaml, not json # 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' -- {} jsonnet -J vendor -m manifests example.jsonnet | xargs -I{} sh -c 'cat $1 | gojsontoyaml > $1.yaml; rm -f $1' -- {}
``` ```
......
#!/usr/bin/env bash #!/usr/bin/env bash
set -e set -e
set -x set -x
# only exit with zero if all commands of the pipeline exit successfully
set -o pipefail
# optional, but we would like to generate yaml, not json # 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 -f $1' -- {} jsonnet -J vendor -m manifests example.jsonnet | xargs -I{} sh -c 'cat $1 | gojsontoyaml > $1.yaml; rm -f $1' -- {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment