cloud-native-toolkit / planning

The is the planning repo to manage the cross project Epics and Issues. Tasks and Bugs
3 stars 1 forks source link

ROKS 4.7: The Argo CD URL stored in the argocd-access secret and used in the "Cloud-Native Toolkit" application icon on the dashboard is wrong #839

Open lsteck opened 3 years ago

lsteck commented 3 years ago

Describe the bug The Argo CD URL stored in the argocd-access secret and used in the "Cloud-Native Toolkit" application icon on the dashboard is wrong. See screen shot below.

To Reproduce Install the Cloud-Native toolkit on a ROKS 4.7 cluster. I ran the "quick install" ArgoCD module used was v2.23.1

Screenshots image.png

IGC credentials returns Credentials: { argocd: { user: 'admin', password: 'xxx', url: 'https://argocd-cluster-openshift-gitops.cohort-10-bc-6ccd7f378ae819553d37d5f2ee142bd6-0000.us-south.containers.appdomain.cloud' },

Where the argocd-cluster-server route in openshift-gitops namespace is https://argocd-cluster-server-openshift-gitops.cohort10-bc-6ccd7f378ae819553d37d5f2ee142bd6-0000.us-south.containers.appdomain.cloud

Looks like the URL is missing -server in argocd-cluster-server-openshift-gitops

csantanapr commented 3 years ago

@lsteck

What about on OCP 4.6? Is the working subdomain is argocd-cluster-openshift-gitops or argocd-cluster-server-openshift-gitops ?

lsteck commented 3 years ago

@csantanapr

On OCP 4.6 is also has server in subdomain name argocd-cluster-server-openshift-gitops

lsteck commented 3 years ago

I also noticed the URL return by IGC credentials is wrong. Looking into this it appears that it is looking for argo-server pod in tools namespace where operator installs it in openshift-gitops namespace.