From a606be0189139685005e50500baadeb73b06c795 Mon Sep 17 00:00:00 2001 From: Quentin Date: Thu, 12 Dec 2024 12:22:39 +0100 Subject: [PATCH] Add analytic env var on Console and Gateway (#144) --- charts/console/templates/console/deployment.yaml | 2 ++ charts/gateway/templates/deployment.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/charts/console/templates/console/deployment.yaml b/charts/console/templates/console/deployment.yaml index a01acc7..857528d 100644 --- a/charts/console/templates/console/deployment.yaml +++ b/charts/console/templates/console/deployment.yaml @@ -122,6 +122,8 @@ spec: value: /conduktor/https/tls.crt - name: CDK_PLATFORM_HTTPS_KEY_PATH value: /conduktor/https/tls.key + - name: DEPLOYED_BY + value: HelmChart/{{ .Chart.Version }} {{- end }} {{- if .Values.platform.extraEnvVars }} {{- include "common.tplvalues.render" (dict "value" .Values.platform.extraEnvVars "context" $) | nindent 12 }} diff --git a/charts/gateway/templates/deployment.yaml b/charts/gateway/templates/deployment.yaml index 5750cd2..4fe006e 100644 --- a/charts/gateway/templates/deployment.yaml +++ b/charts/gateway/templates/deployment.yaml @@ -57,6 +57,8 @@ spec: {{- if .Values.gateway.extraSecretEnvVars }} {{- toYaml .Values.gateway.extraSecretEnvVars | nindent 12 }} {{- end }} + - name: DEPLOYED_BY + value: HelmChart/{{ .Chart.Version }} envFrom: - configMapRef: name: {{ include "conduktor-gateway.fullname" . }}