Skip to content

ArgoCD UI Ingress go-to links use wrong URL scheme (HTTP) #8021

@brsolomon-deloitte

Description

@brsolomon-deloitte

Checklist:

  • I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • I've included steps to reproduce the bug.
  • I've pasted the output of argocd version.

Describe the bug

In the ArgoCD UI, the external link button for Ingress resources points to http rather than https. Our load balancer is only exposed over https/443 (TLS termination occurs there), so the links from ArgoCD are effectively dead links with the wrong scheme. Is there a way to configure this to generate HTTPS links?

To Reproduce

Deploy ArgoCD, nginx-ingress-controller, and any Ingress resource.

Expected behavior

Link uses HTTPS scheme or is configurable in some way to use HTTPS by default, not HTTP.

Screenshots

Screen Shot 2021-12-22 at 4 34 15 PM

The generated HTML looks like:

<div class="applications-list__external-links-icon-container">
  <a title="http://jupyter.example.com/">
    <i class="fa fa-external-link-alt"></i>
  </a>
</div>

Whereas the link should be "https://jupyter.example.com/"

Version

argocd: v2.1.3+d855831
  BuildDate: 2021-09-29T21:51:21Z
  GitCommit: d855831540e51d8a90b1006d2eb9f49ab1b088af
  GitTreeState: clean
  GoVersion: go1.16.5
  Compiler: gc
  Platform: linux/amd64

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions