Configure ArgoCD Connection#

Development#

In development, the Vite dev server proxies API requests to ArgoCD. You need an auth token from the ArgoCD instance.

  1. Log in via the ArgoCD CLI:

    argocd login argocd.diamond.ac.uk --grpc-web --sso
    
  2. Copy the auth-token from ~/.config/argocd/config.

  3. Set it in your .env file:

    ARGOCD_AUTH_TOKEN=<your-token>
    
  4. Restart the dev server.

If your ArgoCD instance is at a different hostname, also set VITE_ARGOCD_HOST in .env — this updates the login instructions shown in the app’s token dialog.

Production#

In production, the nginx config proxies to ArgoCD. The target URL is configured via the Helm chart’s argocd.url value:

argocd:
  url: https://argocd.diamond.ac.uk

Users can authenticate by pasting tokens into the app’s login dialog, or via Keycloak SSO — see Keycloak Authentication.

See Helm Deployment for full Helm customization including service type, Ingress/TLS, and resource limits.