1 Star 0 Fork 0

heichengzi/kube-prometheus

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
build.sh 544 Bytes
Copy Edit Raw Blame History
Paul Gier authored 2019-10-23 01:38 . Scripts and readme (#258)
#!/usr/bin/env bash
# This script uses arg $1 (name of *.jsonnet file to use) to generate the manifests/*.yaml files.
set -e
set -x
# only exit with zero if all commands of the pipeline exit successfully
set -o pipefail
# Make sure to start with a clean 'manifests' dir
rm -rf manifests
mkdir -p manifests/setup
# optional, but we would like to generate yaml, not json
jsonnet -J vendor -m manifests "${1-example.jsonnet}" | xargs -I{} sh -c 'cat {} | gojsontoyaml > {}.yaml; rm -f {}' -- {}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xchgogo/kube-prometheus.git
git@gitee.com:xchgogo/kube-prometheus.git
xchgogo
kube-prometheus
kube-prometheus
master

Search