Skip to content

Latest commit

 

History

History
85 lines (50 loc) · 2.11 KB

argocd.md

File metadata and controls

85 lines (50 loc) · 2.11 KB

Installation of ArgoCD through the Operator Hub

Table of contents

  1. Create argocd namespace
  2. Installing the ArgoCD operator
  3. Create ArgoCD installation
  4. Wait for the ArgoCD pods
  5. Get your ArgoCD password
  6. Expose your ArgoCD installation
  7. Login to ArgoCD

Step 1

You will need to create the argocd namespace, you can easily do this with oc create namespace argocd.

Create argocd namespace

Step 2

Find the ArgoCD Operator in the Operator Hub.

ArgoCD in the Operator Hub

Create a subscription to the operator, this must be in the argocd namespace.

Creating subscription

You should now see the installed operators

Installed operators

Step 3

Create an ArgoCD installation

You'll need to setup ArgoCD within the operator, to do this, requires creating an ArgoCD resource.

Create resource

This should indicate that you have a deployed ArgoCD operator.

Resource list

Step 4

Check that the pods have come up

ArgoCD may take some time to fully come up, it has a number of pods that need to startup.

ArgoCD pods

Step 5

Retrieve the ArgoCD password for the UI

$ echo "`oc get secret argocd-cluster -o jsonpath='{.data.admin\.password}' -n argocd | base64 -d`"
random-password-chars

ArgoCD password

Step 6

Add a route to expose the argocd-server service.

ArgoCD password

If you're working locally with crc, you'll may need to use port-forwarding.

$ oc port-forward -n argocd svc/argocd-server 8080:80`

Step 7

You can login to your new empty ArgoCD installation by visiting the route.

ArgoCD login

And finally, you'll get to see the new empty ArgoCD environment.

ArgoCD logged-in