livekit-rtc svc added into repo
This commit is contained in:
parent
37f996e823
commit
71e709f608
@ -1,27 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: {{ include "livekit-server.fullname" . }}-rtc
|
|
||||||
namespace: {{ .Release.Namespace }}
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/name: {{ include "livekit-server.name" . }}
|
|
||||||
purpose: webrtc
|
|
||||||
annotations:
|
|
||||||
{{- toYaml .Values.serviceRtc.annotations | nindent 4 }}
|
|
||||||
spec:
|
|
||||||
type: {{ .Values.serviceRtc.type }}
|
|
||||||
{{- if .Values.serviceRtc.externalTrafficPolicy }}
|
|
||||||
externalTrafficPolicy: {{ .Values.serviceRtc.externalTrafficPolicy }}
|
|
||||||
{{- end }}
|
|
||||||
selector:
|
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
||||||
app.kubernetes.io/name: {{ include "livekit-server.name" . }}
|
|
||||||
ports:
|
|
||||||
- name: webrtc
|
|
||||||
protocol: TCP
|
|
||||||
port: {{ .Values.livekit-server.rtc.tcp_port }}
|
|
||||||
targetPort: {{ .Values.livekit-server.rtc.tcp_port }}
|
|
||||||
{{- if eq .Values.serviceRtc.type "NodePort" }}
|
|
||||||
nodePort: {{ .Values.serviceRtc.nodePort }}
|
|
||||||
{{- end }}
|
|
||||||
Loading…
Reference in New Issue
Block a user