Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manager npm start with specifications does not work properly #601

Open
ashleychching opened this issue Mar 11, 2025 · 0 comments
Open

Manager npm start with specifications does not work properly #601

ashleychching opened this issue Mar 11, 2025 · 0 comments

Comments

@ashleychching
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant