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

[Feature Request] Allow customizing Ingress rules with pass-through variables #414

Open
FecoDoo opened this issue Nov 13, 2024 · 3 comments

Comments

@FecoDoo
Copy link

FecoDoo commented Nov 13, 2024

It would be great if one can have the ability to fully customzing Ingress resource with https://github.com/litmuschaos/litmus-helm/tree/master/charts/litmus chart.

According to docs we need both litmusportal-server-service and litmusportal-frontend-service backends, but with the Helm chart, only the front service backend rule will be created.

@Jonsy13
Copy link
Contributor

Jonsy13 commented Nov 26, 2024

Hi @FecoDoo Can you please provide your usecase with respect to exposing litmusportal-server-service backend? We used to do it earlier but now we don't do it as it is already available via nginx conf in litmusportal-frontend-service. Just adding /api will do the same work.

Ref - https://github.com/litmuschaos/litmus/blob/master/chaoscenter/web/nginx/nginx.conf

Looks like docs are not updated accordingly, that we can update but before that wanted to understand your usecase.

@thiha-min-thant
Copy link

Hi @Jonsy13 ,

One use case for exposing the litmusportal-server-service backend is when the Execution Plane is installed with an agent in a remote environment. In such cases, custom SDKs or operators might need to interact directly with the authentication server and GraphQL server ingress endpoints.

This would allow for seamless communication and integration in scenarios where external tools or automation processes require direct access to these services.

Thanks for looking into this!

@Jonsy13
Copy link
Contributor

Jonsy13 commented Jan 17, 2025

Thanks @thiha-min-thant for providing the usecase.

So can you confirm if using litmusportal-frontend-service backend works for you or not -

  • For Authentication, /auth/ should take you to authentication server.
  • For GraphQL Server, /api/ should take you to graphql server.

I think it should because, Even our litmusctl & helm-agent both are using the same & they are able to do all operations.

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

3 participants