mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-30 13:29:04 +00:00
20 lines
508 B
YAML
20 lines
508 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ template "unifi.fullname" . }}-discovery
|
|
labels:
|
|
app: {{ template "unifi.name" . }}
|
|
chart: {{ template "unifi.chart" . }}
|
|
release: {{ .Release.Name }}
|
|
heritage: {{ .Release.Service }}
|
|
spec:
|
|
type: {{ .Values.discoveryService.type }}
|
|
ports:
|
|
- port: {{ .Values.discoveryService.port }}
|
|
targetPort: http
|
|
protocol: UDP
|
|
name: discovery
|
|
selector:
|
|
app: {{ template "unifi.name" . }}
|
|
release: {{ .Release.Name }}
|