Skip to content

API_BASE_URL Setting for Apiserver behind a K8s service. #987

@Homopatrol

Description

@Homopatrol

My question is what should I be setting the API_BASE_URL to, given that I am deploying the Community maintained helm chart and the apiserver and frontend are packaged as separate K8s deployments and services within this.
We are trying to login in via the UI and we receive HTTP 405 Method Not Allowed.

We are using this chart and can see from Dependency Track documentation and here https://github.com/DependencyTrack/frontend#deployment that something might need to be provided.

Given that the chart deploys frontend and backend as separate deployments and services, what should we be using as the API_BASE_URL in the frontend so that it can talk to the backend and we don't receive the HTTP error.

Environment:

  • Dependency-Track Version: 4.2.1
  • Distribution: [ Kubernetes with Helm ]
  • Database Server: [ PostgreSQL ~10.3 ]
  • Browser: Mozilla/5.0

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