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