From d3fcb69c50989a9d20ebbae81a233f339a9bf209 Mon Sep 17 00:00:00 2001 From: Grraahaam <72856427+Grraahaam@users.noreply.github.com> Date: Tue, 14 Feb 2023 01:17:57 +0100 Subject: [PATCH] fix(chart): backend service missing configuration --- helm-charts/infisical/templates/backend-deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/helm-charts/infisical/templates/backend-deployment.yaml b/helm-charts/infisical/templates/backend-deployment.yaml index 7a366d390..4183641a6 100644 --- a/helm-charts/infisical/templates/backend-deployment.yaml +++ b/helm-charts/infisical/templates/backend-deployment.yaml @@ -64,9 +64,13 @@ metadata: {{- toYaml . | nindent 4 }} {{- end }} spec: + type: {{ .Values.backend.service.type }} selector: {{- include "infisical.backend.matchLabels" . | nindent 8 }} ports: - protocol: TCP port: 4000 targetPort: 4000 # container port + {{- if eq .Values.frontend.service.type "NodePort" }} + nodePort: {{ .Values.frontend.service.nodePort }} + {{- end }}