mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-11-08 20:11:01 +01:00
Promtool appends .yml, not .yaml, but for backwards compatibility, lets allow both
This commit is contained in:
parent
7c12e3379c
commit
40d746e12a
@ -11,7 +11,7 @@ metadata:
|
|||||||
data:
|
data:
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
for f in assets/prometheus/rules/*.rules.yaml
|
for f in assets/prometheus/rules/*.rules.y*ml
|
||||||
do
|
do
|
||||||
echo " $(basename $f): |+"
|
echo " $(basename $f): |+"
|
||||||
cat $f | sed "s/^/ /g"
|
cat $f | sed "s/^/ /g"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user