Promtool appends .yml, not .yaml, but for backwards compatibility, lets allow both
This commit is contained in:
@@ -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"
|
||||||
|
Reference in New Issue
Block a user