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:
@@ -13,6 +13,6 @@ EOF
|
|||||||
|
|
||||||
for f in assets/prometheus/rules/*.rules.y*ml
|
for f in assets/prometheus/rules/*.rules.y*ml
|
||||||
do
|
do
|
||||||
echo " $(basename $f): |+"
|
echo " $(basename $f | sed s/\.yml//): |+"
|
||||||
cat $f | sed "s/^/ /g"
|
cat $f | sed "s/^/ /g"
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user