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

View File

@@ -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

View File

@@ -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." }}