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
add envs to frontend k8
Maidul Islam3dccfc540483
diff --git a/helm-charts/infisical/Chart.yaml b/helm-charts/infisical/Chart.yamlindex 22ae10b6d4..48eb5d4dc0 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.1+version: 0.1.2# 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 todiff --git a/helm-charts/infisical/templates/backend-deployment.yaml b/helm-charts/infisical/templates/backend-deployment.yamlindex 9bc72eaf53..c2620ff8ac 100644--- a/helm-charts/infisical/templates/backend-deployment.yaml+++ b/helm-charts/infisical/templates/backend-deployment.yaml@@ -21,7 +21,7 @@ spec:ports:- containerPort: 4000env:- {{- range $key, $value := .Values.secrets }}+ {{- range $key, $value := .Values.backendEnvironmentVariables }}{{- if eq $value "MUST_REPLACE" }}{{ fail "Environment variables are not set. Please set all environment variables to continue." }}{{ end }}diff --git a/helm-charts/infisical/templates/frontend-deployment.yaml b/helm-charts/infisical/templates/frontend-deployment.yamlindex e0dbdae0db..79bf8837b7 100644--- a/helm-charts/infisical/templates/frontend-deployment.yaml+++ b/helm-charts/infisical/templates/frontend-deployment.yaml@@ -18,6 +18,11 @@ spec:- name: frontendimage: infisical/frontendimagePullPolicy: {{ .Values.frontend.image.pullPolicy }}+ env:+ {{- range $key, $value := .Values.frontendEnvironmentVariables }}+ - name: {{ $key }}+ value: {{ quote $value }}+ {{- end }}ports:- containerPort: 4000---