mirror of
https://github.com/Thumbscrew/k8s-charts.git
synced 2025-04-24 16:39:52 +00:00
32 lines
683 B
YAML
32 lines
683 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "unifi-controller.fullname" . }}
|
|
labels:
|
|
{{- include "unifi-controller.labels" . | nindent 4 }}
|
|
spec:
|
|
type: {{ .Values.service.type }}
|
|
ports:
|
|
- port: 8080
|
|
targetPort: 8080
|
|
protocol: TCP
|
|
name: http
|
|
- port: 8443
|
|
targetPort: 8443
|
|
protocol: TCP
|
|
name: https
|
|
- port: 3478
|
|
targetPort: 3478
|
|
protocol: TCP
|
|
name: stun
|
|
- port: 1900
|
|
targetPort: 1900
|
|
protocol: UDP
|
|
name: l2discover
|
|
- port: 5514
|
|
targetPort: 5514
|
|
protocol: UDP
|
|
name: syslog
|
|
selector:
|
|
{{- include "unifi-controller.selectorLabels" . | nindent 4 }}
|