Set environment variables of front pod

This commit is contained in:
M. Mert Yildiran
2022-12-28 05:01:43 +03:00
parent af02b1d779
commit 647d197f51
2 changed files with 21 additions and 2 deletions

View File

@@ -114,6 +114,11 @@ func createAndStartContainers(
respFront, err = cli.ContainerCreate(ctx, &container.Config{
Image: imageFront,
Tty: false,
Env: []string{
"REACT_APP_DEFAULT_FILTER= ",
"REACT_APP_HUB_HOST=localhost",
"REACT_APP_HUB_PORT=8898",
},
}, hostConfigFront, nil, nil, "kubeshark-front")
if err != nil {
return