From 83aa440b62094010a2a0351270a26b92c48ab8bc Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Fri, 27 Jan 2023 10:43:23 -0800 Subject: [PATCH] Remove mongo url from envs --- helm-charts/infisical/Chart.yaml | 2 +- helm-charts/infisical/templates/backend-deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helm-charts/infisical/Chart.yaml b/helm-charts/infisical/Chart.yaml index 7205abdaa..b87379fb5 100644 --- a/helm-charts/infisical/Chart.yaml +++ b/helm-charts/infisical/Chart.yaml @@ -7,7 +7,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.11 +version: 0.1.12 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/helm-charts/infisical/templates/backend-deployment.yaml b/helm-charts/infisical/templates/backend-deployment.yaml index 9e97c4707..6f4286055 100644 --- a/helm-charts/infisical/templates/backend-deployment.yaml +++ b/helm-charts/infisical/templates/backend-deployment.yaml @@ -33,10 +33,10 @@ spec: - secretRef: name: {{ .Values.backend.kubeSecretRef }} {{- end }} - {{- if .Values.backendEnvironmentVariables }} env: - name: MONGO_URL value: {{ include "infisical.mongodb.connectionString" . | quote }} + {{- if .Values.backendEnvironmentVariables }} {{- range $key, $value := .Values.backendEnvironmentVariables }} {{- if $value | quote | eq "MUST_REPLACE" }} {{ fail "Environment variables are not set. Please set all environment variables to continue." }}