Remove mongo url from envs

This commit is contained in:
Maidul Islam
2023-01-27 10:43:23 -08:00
parent a555ef836b
commit 83aa440b62
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # 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. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # 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 # 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 # incremented each time you make changes to the application. Versions are not expected to
@@ -33,10 +33,10 @@ spec:
- secretRef: - secretRef:
name: {{ .Values.backend.kubeSecretRef }} name: {{ .Values.backend.kubeSecretRef }}
{{- end }} {{- end }}
{{- if .Values.backendEnvironmentVariables }}
env: env:
- name: MONGO_URL - name: MONGO_URL
value: {{ include "infisical.mongodb.connectionString" . | quote }} value: {{ include "infisical.mongodb.connectionString" . | quote }}
{{- if .Values.backendEnvironmentVariables }}
{{- range $key, $value := .Values.backendEnvironmentVariables }} {{- range $key, $value := .Values.backendEnvironmentVariables }}
{{- if $value | quote | eq "MUST_REPLACE" }} {{- if $value | quote | eq "MUST_REPLACE" }}
{{ fail "Environment variables are not set. Please set all environment variables to continue." }} {{ fail "Environment variables are not set. Please set all environment variables to continue." }}