From 83aae3cab85c2a2da2b15895a8c7bfc5498a9b7d Mon Sep 17 00:00:00 2001 From: Jirka Kremser Date: Thu, 10 Oct 2024 18:20:49 +0200 Subject: [PATCH] Fix helm template Signed-off-by: Jirka Kremser --- helmchart/otel-add-on/templates/deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/helmchart/otel-add-on/templates/deployment.yaml b/helmchart/otel-add-on/templates/deployment.yaml index dfbc2be..f9237dd 100644 --- a/helmchart/otel-add-on/templates/deployment.yaml +++ b/helmchart/otel-add-on/templates/deployment.yaml @@ -43,10 +43,14 @@ spec: value: {{ .Values.settings.metricStoreRetentionSeconds | quote }} - name: IS_ACTIVE_POLLING_INTERVAL_MS value: {{ .Values.settings.isActivePollingIntervalMilliseconds | quote }} + {{- if .Values.settings.noColor }} - name: NO_COLOR value: {{ .Values.settings.noColor | quote }} + {{- end }} + {{- if .Values.settings.noBanner }} - name: NO_BANNER value: {{ .Values.settings.noBanner | quote }} + {{- end }} livenessProbe: grpc: port: {{ .Values.service.kedaExternalScalerPort }}