Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

Save tnm/bab09b58e5448a239f8e9aa92c7a541d to your computer and use it in GitHub Desktop.
Find Cased CD Deployment Location

Find the Deployment - Josh

The manifest has namespace: default hardcoded, so your -n argocd flag was ignored. Let's find where it actually is:

# Find all cased-cd deployments across all namespaces
kubectl get deployments -A | grep cased-cd

This will show you which namespace it's in and the exact deployment name.

Then update the command with the correct namespace. For example, if it shows:

argocd        cased-cd-enterprise   1/1     1            1           5m

Then use:

kubectl set env deployment/cased-cd-enterprise \
  ARGOCD_SERVER=http://argocd-server.argocd.svc.cluster.local \
  -n argocd

Or if it shows:

default       cased-cd-enterprise   1/1     1            1           5m

Then use:

kubectl set env deployment/cased-cd-enterprise \
  ARGOCD_SERVER=http://argocd-server.argocd.svc.cluster.local \
  -n default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment