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:
1 parent
40d746e12a
commit
ce20757475
1 file changed
+1
-1
@@ -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
|
||||
Reference in new issue
Block a user