Skip to content

Commit

Permalink
fix(jvb): apply nodePort to service if using LoadBalancer
Browse files Browse the repository at this point in the history
  • Loading branch information
sapkra committed Jul 24, 2021
1 parent 7177af7 commit 3beb3c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/jvb/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
{{- end }}
ports:
- port: {{ default 10000 .Values.jvb.UDPPort }}
{{- if eq .Values.jvb.service.type "NodePort" }}
{{- if or (eq .Values.jvb.service.type "NodePort") (eq .Values.jvb.service.type "LoadBalancer") }}
nodePort: {{ .Values.jvb.UDPPort }}
{{- end }}
protocol: UDP
Expand Down

0 comments on commit 3beb3c2

Please sign in to comment.