Skip to content

ArgoCD

Login to the server

argocd login --username <USERNAME> --password <PASSWORD> <ARGOCD_SERVER>

Since we are accessing to ArgoCD server using nginx as a reverse proxy, we need to add the --grpc-web flag to the command.

argocd login --username <USERNAME> --password <PASSWORD> --grpc-web <ARGOCD_SERVER> 

If you are using self-signed certificates, you also need to add the --insecure flag.

argocd login --username <USERNAME> --password <PASSWORD> --grpc-web --insecure <ARGOCD_SERVER> 

For username and password, you can use the admin user and the password retrieved from the secret in the gitops namespace.

List all applications

argocd app list

Get application details

argocd app get <APP_NAME>

Sync an application

argocd app sync <APP_NAME>

Delete an application

argocd app delete <APP_NAME>

Hard refresh an application

argocd app refresh <APP_NAME> --hard