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

Application wizard shows destination URL instead of name #11228

Closed
3 tasks done
morey-tech opened this issue Nov 8, 2022 · 0 comments · Fixed by #12054
Closed
3 tasks done

Application wizard shows destination URL instead of name #11228

morey-tech opened this issue Nov 8, 2022 · 0 comments · Fixed by #12054
Labels
bug Something isn't working component:ui User interfaces bugs and enhancements

Comments

@morey-tech
Copy link
Contributor

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

When creating an Application from YAML that is using the destination.name for the cluster, after clicking save, the UI shows the empty cluster destination URL instead of the name.

To Reproduce

  1. Start creating a new Application, edit as yaml.
  2. Paste manifest that uses the destination.name
    apiVersion: argoproj.io/v1alpha1
    kind: Application
    metadata:
        name: my-cluster
        namespace: argocd
    spec:
        destination:
            name: in-cluster
    
  3. Click save.

The destination section displays the empty cluster URL instead of the populated name.

Expected behavior

When the Application is using the destination name, after clicking save on editing as YAML, the destination section should display the name instead of the URL.

Screenshots

Screen.sharing.-.2022-11-08.12_32_27.PM.mp4

Version

{
    "Version": "v2.5.1+504da42",
    "BuildDate": "2022-11-01T21:14:30Z",
    "GitCommit": "504da424c2c9bb91d7fb2ebf3ae72162e7a5a5be",
    "GitTreeState": "clean",
    "GoVersion": "go1.18.8",
    "Compiler": "gc",
    "Platform": "linux/amd64",
    "KustomizeVersion": "v4.5.7 2022-08-02T16:35:54Z",
    "HelmVersion": "v3.10.1+g9f88ccb",
    "KubectlVersion": "v0.24.2",
    "JsonnetVersion": "v0.18.0"
}

Logs
N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component:ui User interfaces bugs and enhancements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants