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

If configs.params.server.rootpath is used, the path is duplicated after local Login #3139

Open
simonprewo opened this issue Jan 24, 2025 · 1 comment
Labels
argo-cd bug Something isn't working

Comments

@simonprewo
Copy link

simonprewo commented Jan 24, 2025

Describe the bug

Let say you want to run Argo under myhostname.com/argocd.
/argocd is than configured in parameter configs.params.server.rootpath: /argocd . However, local login is distroyed afterwards because you argocd in the URL is duplicated.

The full configuration looks like that:

configs:
  cm:
    url: myhostname.com/argocd
  params:
    server.rootpath: "/argocd"
server:
  ingress:
    enabled: true

Related helm chart

argo-cd

Helm chart version

7.7.16

To Reproduce

  1. Open myhostname.com/argocd
  2. My URL is changed/forwarded to myhostname.com/argocd/login?return_url=https%3A%2F%2Fmyhostname.com%2Fargocd%2Fapplications
  3. I login locally using my admin account
  4. After succsessful Login, I got redirected to myhostname.com/argocd/argocd/applications
  5. If I remove one argocd everythings works fine myhostname.com/argocd/applications

Expected behavior

After Login page myhostname.com/argocd/applications is opened. (No duplicate argocd)

Screenshots

No response

Additional context

No response

@simonprewo simonprewo added the bug Something isn't working label Jan 24, 2025
@Nova-Logic
Copy link

faced same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
argo-cd bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants