Skip to content

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

fix: allow setting of nodeport

jon4hzda5800c268c0
diff --git a/helm-charts/infisical/templates/frontend-deployment.yaml b/helm-charts/infisical/templates/frontend-deployment.yaml
index 99d94f9b98..c276ed8a50 100644
--- a/helm-charts/infisical/templates/frontend-deployment.yaml
+++ b/helm-charts/infisical/templates/frontend-deployment.yaml
@@ -48,3 +48,6 @@ spec:
- protocol: TCP
port: 3000 # service
targetPort: 3000 # container port
+ {{- if eq .Values.frontend.service.type "NodePort" }}
+ nodePort: {{ .Values.frontend.service.nodePort }}
+ {{- end }}
\ No newline at end of file
diff --git a/helm-charts/infisical/values.yaml b/helm-charts/infisical/values.yaml
index ba4457d50c..8aa70ea81a 100644
--- a/helm-charts/infisical/values.yaml
+++ b/helm-charts/infisical/values.yaml
@@ -11,7 +11,10 @@ frontend:
tag: "latest"
# kubeSecretRef: some-kube-secret-name
service:
+ # type of the frontend service
type: ClusterIP
+ # define the nodePort if service type is NodePort
+ # nodePort:
backend:
replicaCount: 1