From 6bf00cf82960c054df4fe84aba494a90f2e7ff9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Mon, 29 Apr 2024 11:01:03 +0200 Subject: [PATCH] [chart] Do not add erroneous env to the nginx container Change-Id: I6db05a4a1f6ffac7f0a6dea67162fe8938f5bb34 --- charts/nebulous-gui/templates/deployment.yaml | 5 +---- charts/nebulous-gui/values.yaml | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/charts/nebulous-gui/templates/deployment.yaml b/charts/nebulous-gui/templates/deployment.yaml index 714855d..e06499e 100644 --- a/charts/nebulous-gui/templates/deployment.yaml +++ b/charts/nebulous-gui/templates/deployment.yaml @@ -55,10 +55,7 @@ spec: containerPort: 80 protocol: TCP env: - - name: NODE_ENV - value: "{{ .Values.env.NODE_ENV }}" - - name: VITE_API_URL - value: "{{ .Values.env.VITE_API_URL }}" + {{- toYaml .Values.env | nindent 12 }} livenessProbe: httpGet: path: / diff --git a/charts/nebulous-gui/values.yaml b/charts/nebulous-gui/values.yaml index c90cde7..f7f0f46 100644 --- a/charts/nebulous-gui/values.yaml +++ b/charts/nebulous-gui/values.yaml @@ -88,7 +88,4 @@ tolerations: [] affinity: {} -env: - NODE_ENV: "production" - VITE_API_URL: "http://nebulous-gui-controller:3000" - +env: []