mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-11-02 09:01:02 +01:00
Promtool appends .yml, not .yaml, but for backwards compatibility, lets allow both
This commit is contained in:
parent
7c12e3379c
commit
40d746e12a
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user