change udp

master
Marius Ensrud 4 years ago
parent a418367b8c
commit 641ecd28f1

@ -49,12 +49,12 @@ metadata:
name: {{ include "omada-controller.fullname" . }}-udp
labels:
{{- include "omada-controller.labels" . | nindent 4 }}
{{- with .Values.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
#{{- with .Values.service.annotations }}
#annotations:
#{{- toYaml . | nindent 4 }}
#{{- end }}
spec:
type: {{ .Values.service.type }}
type: ClusterIP
ports:
- port: {{ .Values.service.eapdiscovery.port }}
targetPort: 29810
@ -62,6 +62,11 @@ spec:
name: eapdiscovery
selector:
{{- include "omada-controller.selectorLabels" . | nindent 4 }}
{{- if .Values.service.externalIPs.enabled }}
externalTrafficPolicy: Local
externalIPs:{{- range .Values.service.externalIPs.ip }}
- {{.}}{{- end }}
{{- end }}
{{ else }}
apiVersion: v1
kind: Service

Loading…
Cancel
Save