diff --git a/helm-charts/infisical/templates/frontend-deployment.yaml b/helm-charts/infisical/templates/frontend-deployment.yaml index 99d94f9b9..c276ed8a5 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 ba4457d50..8aa70ea81 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