From deefe8eef34457e2c8017a54dc1a48a7db151734 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Wed, 26 Apr 2023 21:57:51 +0200 Subject: [PATCH] fix: helm template with metricsRefreshInterval (#7019) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Charles-Edouard Brétéché --- charts/kyverno/templates/config/metricsconfigmap.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/kyverno/templates/config/metricsconfigmap.yaml b/charts/kyverno/templates/config/metricsconfigmap.yaml index 9a59cbd7db..dc5148908e 100644 --- a/charts/kyverno/templates/config/metricsconfigmap.yaml +++ b/charts/kyverno/templates/config/metricsconfigmap.yaml @@ -15,6 +15,6 @@ data: namespaces: {{ toJson . | quote }} {{- end }} {{- with .Values.metricsConfig.metricsRefreshInterval }} - metricsRefreshInterval: {{ .Values.metricsConfig.metricsRefreshInterval }} + metricsRefreshInterval: {{ . }} {{- end }} {{- end -}}