|
|
|
@ -45,6 +45,27 @@ spec:
|
|
|
|
---
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
kind: Service
|
|
|
|
|
|
|
|
metadata:
|
|
|
|
|
|
|
|
name: {{ include "omada-controller.fullname" . }}-udp-lb
|
|
|
|
|
|
|
|
labels:
|
|
|
|
|
|
|
|
{{- include "omada-controller.labels" . | nindent 4 }}
|
|
|
|
|
|
|
|
{{- with .Values.service.annotations }}
|
|
|
|
|
|
|
|
annotations:
|
|
|
|
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
spec:
|
|
|
|
|
|
|
|
type: {{ .Values.service.type }}
|
|
|
|
|
|
|
|
ports:
|
|
|
|
|
|
|
|
- port: {{ .Values.service.eapdiscovery.port }}
|
|
|
|
|
|
|
|
targetPort: 29810
|
|
|
|
|
|
|
|
protocol: UDP
|
|
|
|
|
|
|
|
name: eapdiscovery
|
|
|
|
|
|
|
|
selector:
|
|
|
|
|
|
|
|
{{- include "omada-controller.selectorLabels" . | nindent 4 }}
|
|
|
|
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
apiVersion: v1
|
|
|
|
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
metadata:
|
|
|
|
name: {{ include "omada-controller.fullname" . }}-udp
|
|
|
|
name: {{ include "omada-controller.fullname" . }}-udp
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
|