From c330a6e428c46de662a0403c9a2d892e014e6d8b Mon Sep 17 00:00:00 2001
From: Damien Grisonnet <dgrisonn@redhat.com>
Date: Fri, 27 Jan 2023 13:30:08 +0100
Subject: [PATCH] custom-metrics: fix compilation (#1996)

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
---
 jsonnet/kube-prometheus/addons/custom-metrics.libsonnet | 1 -
 1 file changed, 1 deletion(-)

diff --git a/jsonnet/kube-prometheus/addons/custom-metrics.libsonnet b/jsonnet/kube-prometheus/addons/custom-metrics.libsonnet
index 8ac49885..d2357f4f 100644
--- a/jsonnet/kube-prometheus/addons/custom-metrics.libsonnet
+++ b/jsonnet/kube-prometheus/addons/custom-metrics.libsonnet
@@ -4,7 +4,6 @@
 {
   values+:: {
     prometheusAdapter+: {
-      namespace: $.values.prometheusAdapter.namespace,
       // Rules for custom-metrics
       config+:: {
         rules+: [
-- 
GitLab