diff --git a/cmd/tapPcapRunner.go b/cmd/tapPcapRunner.go index 9daf03c91..86db43a7d 100644 --- a/cmd/tapPcapRunner.go +++ b/cmd/tapPcapRunner.go @@ -164,7 +164,7 @@ func createAndStartContainers( Env: []string{ "REACT_APP_DEFAULT_FILTER= ", "REACT_APP_HUB_HOST= ", - fmt.Sprintf("REACT_APP_HUB_PORT=%d", config.Config.Tap.Proxy.Hub.Port), + fmt.Sprintf("REACT_APP_HUB_PORT=:%d", config.Config.Tap.Proxy.Hub.Port), }, }, hostConfigFront, nil, nil, nameFront) if err != nil { diff --git a/helm-chart/templates/06-front-pod.yaml b/helm-chart/templates/06-front-pod.yaml index 5d1c41f19..c537bdcfe 100644 --- a/helm-chart/templates/06-front-pod.yaml +++ b/helm-chart/templates/06-front-pod.yaml @@ -22,7 +22,7 @@ spec: - name: REACT_APP_HUB_HOST value: ' ' - name: REACT_APP_HUB_PORT - value: '{{ .Values.tap.ingress.enabled | ternary "80/api" "8898" }}' + value: '{{ .Values.tap.ingress.enabled | ternary "/api" ":8898" }}' image: '{{ .Values.tap.docker.registry }}/front:{{ .Values.tap.docker.tag }}' imagePullPolicy: {{ .Values.tap.docker.imagepullpolicy }} name: kubeshark-front diff --git a/manifests/complete.yaml b/manifests/complete.yaml index 8aa1aefc1..e02c580da 100644 --- a/manifests/complete.yaml +++ b/manifests/complete.yaml @@ -255,7 +255,7 @@ spec: - name: REACT_APP_HUB_HOST value: ' ' - name: REACT_APP_HUB_PORT - value: '8898' + value: ':8898' image: 'docker.io/kubeshark/front:latest' imagePullPolicy: Always name: kubeshark-front