Skip to content

Commit

Permalink
Added nodePort as an attribute of the Helm chart. (#1117)
Browse files Browse the repository at this point in the history
Co-authored-by: Joel <[email protected]>
  • Loading branch information
ajarrechea and Joel authored Aug 19, 2024
1 parent 7480d94 commit 3aaa472
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helm/squidex/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@ spec:
targetPort: http
protocol: TCP
name: http
{{- if and (eq (lower .Values.service.type) "nodeport") .Values.service.nodePort }}
nodePort: {{ .Values.service.nodePort }}
{{- end }}
selector:
{{- include "squidex.selectors" . | indent 4 }}
3 changes: 3 additions & 0 deletions helm/squidex/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ service:
## @param service.port Kubernetes Service port
##
port: 80
## @param service.port Kubernetes Service port
##
nodePort: null
deployment:
## @param deployment.replicaCount Number of instances.
##
Expand Down

0 comments on commit 3aaa472

Please sign in to comment.