From e58cadfe9647c7ef9f4a978837ab6cf390bfa107 Mon Sep 17 00:00:00 2001
From: Simon Pasquier <spasquie@redhat.com>
Date: Mon, 17 May 2021 12:42:43 +0200
Subject: [PATCH] jsonnet/kube-prometheus/addons: fix KSM regex patterns

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
---
 jsonnet/kube-prometheus/addons/ksm-lite.libsonnet | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/jsonnet/kube-prometheus/addons/ksm-lite.libsonnet b/jsonnet/kube-prometheus/addons/ksm-lite.libsonnet
index 18791e1e..cf06ebdc 100644
--- a/jsonnet/kube-prometheus/addons/ksm-lite.libsonnet
+++ b/jsonnet/kube-prometheus/addons/ksm-lite.libsonnet
@@ -16,8 +16,8 @@ local addArgs(args, name, containers) = std.map(
             containers: addArgs(
               [|||
                 --metric-denylist=
-                kube_*_created,
-                kube_*_metadata_resource_version,
+                kube_.+_created,
+                kube_.+_metadata_resource_version,
                 kube_replicaset_metadata_generation,
                 kube_replicaset_status_observed_generation,
                 kube_pod_restart_policy,
-- 
GitLab