Skip to content

Manager npm start with specifications does not work properly #601

Description

@ashleychching

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions