-
Notifications
You must be signed in to change notification settings - Fork 65
Manager npm start with specifications does not work properly #601
Description
When running the manager,
commands ran:
helm upgrade --install -n spire-mgmt spire-crds spire-crds --repo https://spiffe.github.io/helm-charts-hardened/ --create-namespace
helm upgrade --install -n spire-mgmt spire spire --repo https://spiffe.github.io/helm-charts-hardened/ -f helm_values.yaml
kubectl port-forward -n spire-server svc/spire-tornjak-backend 10000:10000
kubectl port-forward -n spire-server svc/spire-tornjak-backend 10000:10000
go run cmd/manager/main.go
curl http://localhost:50000/manager-api/server/register --header "Content-Type: application/json" --data '{"name": "backend", "address": "http://localhost:10000"}'
curl http://localhost:50000/manager-api/tornjak/serverinfo/backend
cd frontend
REACT_APP_API_SERVER_URI=http://localhost:50000/ REACT_APP_TORNJAK_MANAGER=true npm start
The specifications REACT_APP_API_SERVER_URI=http://localhost:50000/ REACT_APP_TORNJAK_MANAGER=true do not run, and you still have to personally change those values in the env file. It does not change the values if you just run it in the terminal.