Skip to content

Commit

Permalink
(fix): add conditional for nodePort check
Browse files Browse the repository at this point in the history
  • Loading branch information
kameshsampath committed Feb 11, 2025
1 parent 5244c4c commit 9f48c1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helm/polaris/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
{{- if .targetPort }}
targetPort: {{ .targetPort }}
{{- end }}
{{- if .nodePort }}
{{- if and (eq $.Values.service.type "NodePort") .nodePort }}
nodePort: {{ .nodePort }}
{{- end }}
protocol: {{ default "TCP" .protocol }}
Expand Down

0 comments on commit 9f48c1f

Please sign in to comment.