Skip to content
This repository was archived by the owner on Jul 16, 2021. It is now read-only.
This repository was archived by the owner on Jul 16, 2021. It is now read-only.

ingress controller problem with OPENSHIFT: monocular could not work  #666

Description

@ntnchrrn07

Hello all,
On openshift platform, monocular is not working. We could not so use Monocular on it.
We think this problem is caused by a dependency too much important with nginx-ingress.

We think to have find the problem in monocular, it could be interesting to investigate :

  • frontend send requests on "/chartsvc/v1/*"
  • backend wait receive requests on "/v1/*"

Prefix of the back is only "/v1" where I think it must be "/chartsvc/v1" to don't create an dependency with nginx-ingress

Source code frontend: frontend/src/app/shared/services/charts.service.ts
l23: this.hostname = ${config.backendHostname}/chartsvc;
Source code backend: cmd/chartsvc/main.go
l31: const pathPrefix = "/v1"

Potential fix:
Source code backend: cmd/chartsvc/main.go
l31: const pathPrefix = "/chartsvc/v1"

Is someone have find an issue / workaround about it ?
Are you agree with this approach ?

Best regards,

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