Skip to content

Instantly share code, notes, and snippets.

@tnm
Created October 28, 2025 23:08
Show Gist options
  • Select an option

  • Save tnm/c33c61357cbf27f0d7351beb43864ddc to your computer and use it in GitHub Desktop.

Select an option

Save tnm/c33c61357cbf27f0d7351beb43864ddc to your computer and use it in GitHub Desktop.
Quick Fix for TLS Error - Cased CD Enterprise

Quick Fix for TLS Error - Josh

The issue is that the enterprise backend is trying to connect to ArgoCD over HTTPS with a self-signed cert.

Quick Fix (Patch the Running Deployment)

# Update the enterprise deployment to use HTTP instead of HTTPS
kubectl set env deployment/cased-cd-enterprise \
  ARGOCD_SERVER=http://argocd-server.argocd.svc.cluster.local \
  -n default

# Wait for the pod to restart
kubectl rollout status deployment/cased-cd-enterprise -n default --timeout=60s

# Check the logs - should see successful connections now
kubectl logs -n default deployment/cased-cd-enterprise --tail=20

After this, try logging in again. The 502 errors should be gone.


Note: Your pods are in the default namespace, not argocd namespace, because the manifest has hardcoded namespace: default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment