From 40d746e12a96bd7eba2b3700318f58d6c95273c0 Mon Sep 17 00:00:00 2001 From: Nuala Gaffey <ngaffey@etsy.com> Date: Wed, 22 Nov 2017 16:41:05 -0500 Subject: [PATCH] Promtool appends .yml, not .yaml, but for backwards compatibility, lets allow both --- hack/scripts/generate-rules-configmap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/scripts/generate-rules-configmap.sh b/hack/scripts/generate-rules-configmap.sh index 9eb2efc8..7a98962d 100755 --- a/hack/scripts/generate-rules-configmap.sh +++ b/hack/scripts/generate-rules-configmap.sh @@ -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" -- GitLab