Configure ArgoCD Connection#
Development#
In development, the Vite dev server proxies API requests to ArgoCD. You need an auth token from the ArgoCD instance.
Log in via the ArgoCD CLI:
argocd login argocd.diamond.ac.uk --grpc-web --sso
Copy the
auth-tokenfrom~/.config/argocd/config.Set it in your
.envfile:ARGOCD_AUTH_TOKEN=<your-token>
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.