Skip to content
Snippets Groups Projects
Commit 40d746e1 authored by Nuala Gaffey's avatar Nuala Gaffey
Browse files

Promtool appends .yml, not .yaml, but for backwards compatibility, lets allow both

parent 7c12e337
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ metadata: ...@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment