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 -}}