chore(assist): fix ports

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
rjshrjndrn 2022-04-14 14:56:44 +02:00
parent 53c83f99a6
commit c174b0a63b
2 changed files with 1 additions and 10 deletions

View file

@ -1,6 +1,5 @@
{{- if .Values.ingress.enabled }}
{{- $fullName := include "assist.fullname" . -}}
{{- $peerjsSvcPort := .Values.service.ports.peerjs -}}
{{- $socketioSvcPort := .Values.service.ports.socketio -}}
apiVersion: networking.k8s.io/v1
kind: Ingress
@ -26,18 +25,11 @@ spec:
- host: {{ .Values.global.domainName }}
http:
paths:
- pathType: Prefix
backend:
service:
name: {{ $fullName }}
port:
number: {{ $peerjsSvcPort }}
path: /assist/(.*)
- pathType: Prefix
backend:
service:
name: {{ $fullName }}
port:
number: {{ $socketioSvcPort }}
path: /ws-assist/(.*)
path: /assist/(.*)
{{- end }}

View file

@ -43,7 +43,6 @@ securityContext: {}
service:
type: ClusterIP
ports:
peerjs: 9000
socketio: 9001
ingress: