Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
update helm template; check for non string
Maidul Islam5db60c0dad72
diff --git a/helm-charts/infisical/templates/backend-deployment.yaml b/helm-charts/infisical/templates/backend-deployment.yamlindex 0c239867bc..6a2faa6885 100644--- a/helm-charts/infisical/templates/backend-deployment.yaml+++ b/helm-charts/infisical/templates/backend-deployment.yaml@@ -22,7 +22,7 @@ spec:- containerPort: 4000env:{{- range $key, $value := .Values.backendEnvironmentVariables }}- {{- if eq $value "MUST_REPLACE" }}+ {{- if $value | quote | eq "MUST_REPLACE" }}{{ fail "Environment variables are not set. Please set all environment variables to continue." }}{{ end }}- name: {{ $key }}diff --git a/helm-charts/infisical/templates/frontend-deployment.yaml b/helm-charts/infisical/templates/frontend-deployment.yamlindex 79bf8837b7..3cd29f326c 100644--- a/helm-charts/infisical/templates/frontend-deployment.yaml+++ b/helm-charts/infisical/templates/frontend-deployment.yaml@@ -20,6 +20,9 @@ spec:imagePullPolicy: {{ .Values.frontend.image.pullPolicy }}env:{{- range $key, $value := .Values.frontendEnvironmentVariables }}+ {{- if $value | quote | eq "MUST_REPLACE" }}+ {{ fail "Environment variables are not set. Please set all environment variables to continue." }}+ {{ end }}- name: {{ $key }}value: {{ quote $value }}{{- end }}