🚀(helm) webrtc helm chart
Make the webrtc helm chart. The webrtc server is a simple websocket server that forwards messages between clients. The server uses the port 443 and the protocol wss. local_url: wss://impress.127.0.0.1.nip.io/ws
This commit is contained in:
@@ -46,6 +46,24 @@ spec:
|
||||
- host: {{ .Values.ingress.host | quote }}
|
||||
http:
|
||||
paths:
|
||||
- path: /ws
|
||||
{{- if semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion }}
|
||||
pathType: ImplementationSpecific
|
||||
{{- end }}
|
||||
backend:
|
||||
service:
|
||||
name: {{ include "impress.webrtc.fullname" . }}
|
||||
port:
|
||||
number: {{ .Values.webrtc.service.port }}
|
||||
{{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }}
|
||||
service:
|
||||
name: {{ include "impress.webrtc.fullname" . }}
|
||||
port:
|
||||
number: {{ .Values.webrtc.service.port }}
|
||||
{{- else }}
|
||||
serviceName: {{ include "impress.webrtc.fullname" . }}
|
||||
servicePort: {{ .Values.webrtc.service.port }}
|
||||
{{- end }}
|
||||
- path: {{ .Values.ingress.path | quote }}
|
||||
{{- if semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion }}
|
||||
pathType: Prefix
|
||||
|
||||
Reference in New Issue
Block a user