Promtool appends .yml, not .yaml, but for backwards compatibility, lets allow both
This commit is contained in:
@@ -11,7 +11,7 @@ metadata:
|
||||
data:
|
||||
EOF
|
||||
|
||||
for f in assets/prometheus/rules/*.rules.yaml
|
||||
for f in assets/prometheus/rules/*.rules.y*ml
|
||||
do
|
||||
echo " $(basename $f): |+"
|
||||
cat $f | sed "s/^/ /g"
|
||||
|
Reference in New Issue
Block a user