Uploaded image for project: 'OpenShift GitOps'
  1. OpenShift GitOps
  2. GITOPS-5840

[Test execution] - ArgoCD UI Login | OCP 4.16

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None

      Test ArgoCD UI Login as part of 1.13.2

      validation

      Test Steps:

      There are three approaches

      I.

      Try the logging in method by following Visualize your applications via the Argo CD UI section in https://spaces.redhat.com/pages/viewpage.action?spaceKey=GITOPS&title=KAM+and+DevConsole+end+to+end+Tests 

       

      II.

      1. Install GitOps operator on your cluster
      2. Navigate to Networking -> Routes in openshift-gitops project, click on the link that takes you to the ArgoCD UI page
      3. Log In Via Openshift

       

      III.

      1. Remove dex configuration from argocd CR

      $ oc -n openshift-gitops patch argocd openshift-gitops --type='json' -p='[{"op": "remove", "path": "/spec/sso" }]'

      2. Add to the ArgoCD CR :

      spec:
        extraConfig:
          oidc.tls.insecure.skip.verify: 'true' 
        sso:
          provider: keycloak
          keycloak:
            rootCA: "---BEGIN---END---"

      3. Restart argocd server pod

      $ oc rollout restart deployment.apps/openshift-gitops-server -n openshift-gitops

      4. Wait for keycloak-1-deploy pod in openshift-gitops namespace to be completed

      5. Navigate to Networking -> Routes in openshift-gitops project and click on the link that takes you to the ArgoCD UI page

      6. LOG IN VIA KEYCLOAK, Log in with openshift and follow the instructions

      Acceptance Criteria:

      • Login is tested with all three approaches 
      • Highest and lowest versions of supported OCP versions are covered 

         

        1. image-2024-11-14-14-37-04-681.png
          101 kB
          Triona Doyle
        2. image-2024-11-14-14-39-40-119.png
          65 kB
          Triona Doyle
        3. image-2024-11-14-14-40-30-902.png
          10 kB
          Triona Doyle

              trdoyle Triona Doyle
              trdoyle Triona Doyle
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: