Skip to content

Commit

Permalink
fix: allow setting of nodeport
Browse files Browse the repository at this point in the history
  • Loading branch information
jon4hz committed Dec 28, 2022
1 parent 2143976 commit da5800c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helm-charts/infisical/templates/frontend-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
3 changes: 3 additions & 0 deletions helm-charts/infisical/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit da5800c

Please sign in to comment.