From 61491770f730654593c03a190d5059d850b582b2 Mon Sep 17 00:00:00 2001 From: Aditya Thebe Date: Tue, 14 May 2024 09:08:08 +0545 Subject: [PATCH] fix: chart otel labels (#543) --- chart/templates/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index 94b0d3af..abeb6d42 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -96,9 +96,9 @@ spec: - name: UPSTREAM_PAGE_SIZE value: '{{ .Values.upstream.pageSize }}' {{- end}} - {{- if .Values.otel.labels}} + {{- if (tpl .Values.otel.labels .)}} - name: OTEL_LABELS - value: '{{ .Values.otel.labels }}' + value: '{{ tpl .Values.otel.labels .}}' {{- end}} resources: {{- toYaml .Values.resources | nindent 12 }}