argoproj / argo-cd

Declarative Continuous Deployment for Kubernetes
https://argo-cd.readthedocs.io
Apache License 2.0
16.81k stars 5.09k forks source link

UI - Credentials Template misleading #18741

Open tpcgold opened 3 weeks ago

tpcgold commented 3 weeks ago

Describe the bug ArgoCD UI doesn't correctly show the "Credentials Template" when storing a "VIA GITHUB APP" Credentials Template.

The workaround that seems to work: on Connect Repo -> choose "via SSH" and insert the *.git domain -> click connect

To Reproduce

  1. Create a "VIA GITHUB APP Credentials Template"
  2. Click Connect Repo -> Choose via GitHub App -> All fields are required and no template is showing up

Expected behavior On "Choose via GitHub App" either don't require the App id, installation id and private key, or show a button for "use template"

Version argocd: v2.11.3+3f344d5 BuildDate: 2024-06-06T09:27:36Z GitCommit: 3f344d54a4e0bbbb4313e1c19cfe1e544b162598 GitTreeState: clean GoVersion: go1.21.10 Compiler: gc Platform: linux/amd64 argocd-server: v2.11.3+3f344d5 BuildDate: 2024-06-06T08:42:00Z GitCommit: 3f344d54a4e0bbbb4313e1c19cfe1e544b162598 GitTreeState: clean GoVersion: go1.21.9 Compiler: gc Platform: linux/amd64 Kustomize Version: v5.2.1 2023-10-19T20:13:51Z Helm Version: v3.14.4+g81c902a Kubectl Version: v0.26.11 Jsonnet Version: v0.20.0

agaudreault commented 3 weeks ago

@tpcgold Can you add screenshots of what you observe in the UI

tpcgold commented 3 weeks ago

@agaudreault there is not much value in sceenshots as it is already described above... but here you go: image there is already an app template but with image it's not possible to use it.

the strange thing.... a connection via SSH config seems to use the template of the previously via "APP" created template image this is a very ugly UX/UI issue