mirror of
https://github.com/Thumbscrew/k8s-charts.git
synced 2025-04-24 16:39:52 +00:00
fix combined protocol service
This commit is contained in:
parent
8178ea2d53
commit
7415337adf
@ -24,7 +24,7 @@ spec:
|
||||
targetPort: 3478
|
||||
protocol: TCP
|
||||
name: stun
|
||||
{{- if eq .Values.service.separateProtocols false }}
|
||||
{{- if .Values.service.combinedProtocols }}
|
||||
- port: 1900
|
||||
targetPort: 1900
|
||||
protocol: UDP
|
||||
@ -36,7 +36,7 @@ spec:
|
||||
{{- end }}
|
||||
selector:
|
||||
{{- include "unifi-controller.selectorLabels" . | nindent 4 }}
|
||||
{{- if eq .Values.service.separateProtocols true }}
|
||||
{{- if eq .Values.service.combinedProtocols false }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
@ -50,8 +50,8 @@ securityContext: {}
|
||||
|
||||
service:
|
||||
type: ClusterIP
|
||||
# Separate TCP and UDP ports into different services (required for MetalLB)
|
||||
separateProtocols: false
|
||||
# Use the same service for TCP and UDP ports
|
||||
combinedProtocols: true
|
||||
annotations: {}
|
||||
|
||||
ingress:
|
||||
|
Loading…
Reference in New Issue
Block a user