diff --git a/charts/omada-controller/5.1/templates/service.yaml b/charts/omada-controller/5.1/templates/service.yaml index 6cdd9a0..1a9cd4f 100644 --- a/charts/omada-controller/5.1/templates/service.yaml +++ b/charts/omada-controller/5.1/templates/service.yaml @@ -45,6 +45,27 @@ spec: --- apiVersion: v1 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: name: {{ include "omada-controller.fullname" . }}-udp labels: