From d0032bdaab391f8523717af2de3c4fc0d40c1088 Mon Sep 17 00:00:00 2001 From: nniehoff Date: Fri, 15 Oct 2021 08:39:07 -0600 Subject: [PATCH] Adding metrics logic for NAUTOBOT_METRICS --- charts/nautobot/templates/configmap.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/nautobot/templates/configmap.yaml b/charts/nautobot/templates/configmap.yaml index 688fe813..cb72025e 100644 --- a/charts/nautobot/templates/configmap.yaml +++ b/charts/nautobot/templates/configmap.yaml @@ -31,7 +31,7 @@ data: NAUTOBOT_DEBUG: "False" {{- end }} NAUTOBOT_LOG_LEVEL: {{ .Values.nautobot.logLevel | quote }} - {{- if .Values.nautobot.metrics }} + {{- if or .Values.nautobot.metrics .Values.metrics.enabled }} NAUTOBOT_METRICS_ENABLED: "True" {{- else }} NAUTOBOT_METRICS_ENABLED: "False"