mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-01 18:47:39 +00:00
⚡ Handle the column character in REACT_APP_HUB_PORT
environment variable
This commit is contained in:
@@ -164,7 +164,7 @@ func createAndStartContainers(
|
|||||||
Env: []string{
|
Env: []string{
|
||||||
"REACT_APP_DEFAULT_FILTER= ",
|
"REACT_APP_DEFAULT_FILTER= ",
|
||||||
"REACT_APP_HUB_HOST= ",
|
"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)
|
}, hostConfigFront, nil, nil, nameFront)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@@ -22,7 +22,7 @@ spec:
|
|||||||
- name: REACT_APP_HUB_HOST
|
- name: REACT_APP_HUB_HOST
|
||||||
value: ' '
|
value: ' '
|
||||||
- name: REACT_APP_HUB_PORT
|
- 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 }}'
|
image: '{{ .Values.tap.docker.registry }}/front:{{ .Values.tap.docker.tag }}'
|
||||||
imagePullPolicy: {{ .Values.tap.docker.imagepullpolicy }}
|
imagePullPolicy: {{ .Values.tap.docker.imagepullpolicy }}
|
||||||
name: kubeshark-front
|
name: kubeshark-front
|
||||||
|
@@ -255,7 +255,7 @@ spec:
|
|||||||
- name: REACT_APP_HUB_HOST
|
- name: REACT_APP_HUB_HOST
|
||||||
value: ' '
|
value: ' '
|
||||||
- name: REACT_APP_HUB_PORT
|
- name: REACT_APP_HUB_PORT
|
||||||
value: '8898'
|
value: ':8898'
|
||||||
image: 'docker.io/kubeshark/front:latest'
|
image: 'docker.io/kubeshark/front:latest'
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
name: kubeshark-front
|
name: kubeshark-front
|
||||||
|
Reference in New Issue
Block a user