chore(assist): fix ports
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
53c83f99a6
commit
c174b0a63b
2 changed files with 1 additions and 10 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
|
|
@ -43,7 +43,6 @@ securityContext: {}
|
|||
service:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
peerjs: 9000
|
||||
socketio: 9001
|
||||
|
||||
ingress:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue