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
|
targetPort: 3478
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: stun
|
name: stun
|
||||||
{{- if eq .Values.service.separateProtocols false }}
|
{{- if .Values.service.combinedProtocols }}
|
||||||
- port: 1900
|
- port: 1900
|
||||||
targetPort: 1900
|
targetPort: 1900
|
||||||
protocol: UDP
|
protocol: UDP
|
||||||
@ -36,7 +36,7 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
{{- include "unifi-controller.selectorLabels" . | nindent 4 }}
|
{{- include "unifi-controller.selectorLabels" . | nindent 4 }}
|
||||||
{{- if eq .Values.service.separateProtocols true }}
|
{{- if eq .Values.service.combinedProtocols false }}
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
@ -50,8 +50,8 @@ securityContext: {}
|
|||||||
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
# Separate TCP and UDP ports into different services (required for MetalLB)
|
# Use the same service for TCP and UDP ports
|
||||||
separateProtocols: false
|
combinedProtocols: true
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
|
Loading…
Reference in New Issue
Block a user