- Create argocd namespace
- Installing the ArgoCD operator
- Create ArgoCD installation
- Wait for the ArgoCD pods
- Get your ArgoCD password
- Expose your ArgoCD installation
- Login to ArgoCD
You will need to create the argocd
namespace, you can easily do this with oc create namespace argocd
.
Find the ArgoCD Operator in the Operator Hub.
Create a subscription to the operator, this must be in the argocd
namespace.
You should now see the installed operators
Create an ArgoCD installation
You'll need to setup ArgoCD within the operator, to do this, requires creating an ArgoCD resource.
This should indicate that you have a deployed ArgoCD operator.
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.
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
Add a route to expose the argocd-server
service.
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`
You can login to your new empty ArgoCD installation by visiting the route.
And finally, you'll get to see the new empty ArgoCD environment.