Skip to content

Commit

Permalink
make the servicePort optional on for lk-ingress load balancer
Browse files Browse the repository at this point in the history
  • Loading branch information
real-danm committed Oct 30, 2024
1 parent f122f8d commit fbb5795
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ingress/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ metadata:
spec:
type: {{ default "LoadBalancer" .Values.ingress.serviceType }}
ports:
{{- if .Values.loadBalancer.servicePort }}
- port: {{ .Values.loadBalancer.servicePort }}
protocol: TCP
name: ws
{{- end }}
- port: {{ .Values.ingress.rtmp_port }}
protocol: TCP
name: rtmp
Expand Down

0 comments on commit fbb5795

Please sign in to comment.