From 5c0762c854ad6943ddde0e3dd13eacbf143dc036 Mon Sep 17 00:00:00 2001 From: halleystar <1247920356@qq.com> Date: Tue, 14 May 2024 15:21:22 +0800 Subject: [PATCH] feat(metrics): helm add additionalLabels --- deploy/helm/templates/configmap.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deploy/helm/templates/configmap.yaml b/deploy/helm/templates/configmap.yaml index dca77dff..04ddc5dd 100644 --- a/deploy/helm/templates/configmap.yaml +++ b/deploy/helm/templates/configmap.yaml @@ -9,6 +9,8 @@ data: port: {{ .Values.agent.config.port }} enableController: {{ .Values.controller.enabled }} metrics: + additionalLabels: + {{- toYaml .Values.config.additionalLabels | nindent 8 }} probes: {{- toYaml .Values.config.metricProbes | nindent 6 }} event: