Per issue 593, append .yml to each filename used in the generated configmap. I wasn't able to see alerts in the Prometheus UI until I did this

This commit is contained in:
Nuala Gaffey
2017-11-27 17:04:43 -05:00
parent 40d746e12a
commit ce20757475

View File

@@ -13,6 +13,6 @@ EOF
for f in assets/prometheus/rules/*.rules.y*ml
do
echo " $(basename $f): |+"
echo " $(basename $f | sed s/\.yml//): |+"
cat $f | sed "s/^/ /g"
done