Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: add extra helm properties for gateway

Sheen Capadngan2ee11720a22e
diff --git a/helm-charts/infisical-gateway/CHANGELOG.md b/helm-charts/infisical-gateway/CHANGELOG.md
index ffdbdf8f3f..6547cf60f8 100644
--- a/helm-charts/infisical-gateway/CHANGELOG.md
+++ b/helm-charts/infisical-gateway/CHANGELOG.md
@@ -1,3 +1,8 @@
+## 1.2.0 (July 17, 2026)
+* Added `extraEnv` for injecting additional environment variables into the gateway container.
+* Added `extraEnvFrom` for loading environment variables from Secrets or ConfigMaps.
+* Added `extraObjects` for deploying additional Kubernetes manifests alongside the chart.
+
## 1.1.0 (May 11, 2026)
* Added support for the new enrollment-based gateway registration flow (`gateway.enrollment.method: token` or `aws`).
* Added PersistentVolumeClaim support (`persistence.*`) for credential storage across pod restarts.
diff --git a/helm-charts/infisical-gateway/Chart.yaml b/helm-charts/infisical-gateway/Chart.yaml
index 2f6f891bc4..78dd022d17 100644
--- a/helm-charts/infisical-gateway/Chart.yaml
+++ b/helm-charts/infisical-gateway/Chart.yaml
@@ -15,7 +15,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: 1.1.0
+version: 1.2.0
# 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-gateway/templates/deployment.yaml b/helm-charts/infisical-gateway/templates/deployment.yaml
index 6f615c5fa9..9ff2ceaa73 100644
--- a/helm-charts/infisical-gateway/templates/deployment.yaml
+++ b/helm-charts/infisical-gateway/templates/deployment.yaml
@@ -70,10 +70,15 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- if .Values.gateway.enrollment.method }}
- {{- if .Values.gateway.enrollment.credentialsSecretRef }}
+ {{- if or .Values.gateway.enrollment.credentialsSecretRef .Values.extraEnvFrom }}
envFrom:
+ {{- if .Values.gateway.enrollment.credentialsSecretRef }}
- secretRef:
name: {{ .Values.gateway.enrollment.credentialsSecretRef }}
+ {{- end }}
+ {{- with .Values.extraEnvFrom }}
+ {{- toYaml . | nindent 12 }}
+ {{- end }}
{{- end }}
env:
- name: HOME
@@ -85,6 +90,9 @@ spec:
name: {{ .Values.gateway.enrollment.token.existingSecretRef | default (printf "%s-enrollment-token" (include "infisical-gateway.fullname" .)) }}
key: {{ .Values.gateway.enrollment.token.secretKey | default "enrollment-token" }}
{{- end }}
+ {{- with .Values.extraEnv }}
+ {{- toYaml . | nindent 12 }}
+ {{- end }}
args:
- gateway
- start
@@ -128,6 +136,13 @@ spec:
envFrom:
- secretRef:
name: {{ .Values.secret.name }}
+ {{- with .Values.extraEnvFrom }}
+ {{- toYaml . | nindent 12 }}
+ {{- end }}
+ {{- with .Values.extraEnv }}
+ env:
+ {{- toYaml . | nindent 12 }}
+ {{- end }}
ports:
- name: http
containerPort: {{ .Values.service.port }}
diff --git a/helm-charts/infisical-gateway/templates/extra-objects.yaml b/helm-charts/infisical-gateway/templates/extra-objects.yaml
new file mode 100644
index 0000000000..b058f886db
--- /dev/null
+++ b/helm-charts/infisical-gateway/templates/extra-objects.yaml
@@ -0,0 +1,4 @@
+{{- range .Values.extraObjects }}
+---
+{{ tpl (toYaml .) $ }}
+{{- end }}
diff --git a/helm-charts/infisical-gateway/values.yaml b/helm-charts/infisical-gateway/values.yaml
index 3515f71d1d..c4fd86c0c5 100644
--- a/helm-charts/infisical-gateway/values.yaml
+++ b/helm-charts/infisical-gateway/values.yaml
@@ -95,3 +95,23 @@ service:
ingress:
enabled: false
+
+# -- Extra environment variables for the gateway container
+extraEnv: []
+# - name: LOG_LEVEL
+# value: debug
+# - name: MY_SECRET
+# valueFrom:
+# secretKeyRef:
+# name: my-secret
+# key: my-key
+
+# -- Load environment variables from Secrets or ConfigMaps
+extraEnvFrom: []
+# - secretRef:
+# name: my-secret
+# - configMapRef:
+# name: my-configmap
+
+# -- Extra Kubernetes manifests to deploy with this chart
+extraObjects: []