From 15e7fdecc6e31aa199a0b5e6896bd6a71eb5e1fb Mon Sep 17 00:00:00 2001 From: Niladri Halder Date: Fri, 30 Aug 2024 15:23:30 +0530 Subject: [PATCH] feat(charts): add analytics ID and KEY envs to csi controller Signed-off-by: Niladri Halder --- deploy/helm/charts/templates/lvm-controller.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/deploy/helm/charts/templates/lvm-controller.yaml b/deploy/helm/charts/templates/lvm-controller.yaml index 5ff5193b..345e497f 100644 --- a/deploy/helm/charts/templates/lvm-controller.yaml +++ b/deploy/helm/charts/templates/lvm-controller.yaml @@ -117,6 +117,14 @@ spec: value: "lvm-localpv-helm" - name: OPENEBS_IO_ENABLE_ANALYTICS value: "{{ .Values.analytics.enabled }}" + {{- if .Values.analytics.gaId }} + - name: GA_ID + value: {{ .Values.analytics.gaId | quote }} + {{- end }} + {{- if .Values.analytics.gaKey }} + - name: GA_KEY + value: {{ .Values.analytics.gaKey | quote }} + {{- end }} args : - "--endpoint=$(OPENEBS_CSI_ENDPOINT)" - "--plugin=$(OPENEBS_CONTROLLER_DRIVER)"