diff --git a/templates/jvb/service.yaml b/templates/jvb/service.yaml index c844806..28ad93b 100644 --- a/templates/jvb/service.yaml +++ b/templates/jvb/service.yaml @@ -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