Skip to content

Instantly share code, notes, and snippets.

@tnm
Created October 30, 2025 01:01
Show Gist options
  • Select an option

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

Select an option

Save tnm/06669b4464dea1e6c098cf3c79039164 to your computer and use it in GitHub Desktop.
Cased CD Enterprise - Install in Default Namespace (Josh Customer)

Cased CD Enterprise - Install in Default Namespace (Josh Customer)

Good news!

Your secret is already in the default namespace, so let's install Cased CD there too!

kubectl get secret cased-cd-registry -n default
# NAME                TYPE                             DATA   AGE
# cased-cd-registry   kubernetes.io/dockerconfigjson   1      16s

Installation Steps

Step 1: Clean up any existing installation (if needed)

helm uninstall cased-cd -n default 2>/dev/null || echo "No existing installation found"

Step 2: Install Cased CD Enterprise in default namespace

helm repo add cased https://cased.github.io/cased-cd
helm repo update
helm install cased-cd cased/cased-cd --namespace default --set enterprise.enabled=true --set enterprise.auditTrail.enabled=true --set enterprise.image.repository=registry.cased.com/cased/cased-cd-enterprise --set imagePullSecrets[0].name=cased-cd-registry

Note: Using --namespace default instead of --namespace argocd

Step 3: Watch pods come up

kubectl get pods -n default -w

Wait for cased-cd-* pods to show Running and 1/1 ready. Press Ctrl+C when done.

Step 4: Access the UI

kubectl port-forward svc/cased-cd 8080:80 -n default

Then visit: http://localhost:8080


Alternative: Move to argocd namespace

If you prefer to install in the argocd namespace (standard practice), do this:

Delete from default, recreate in argocd

# Delete from default
kubectl delete secret cased-cd-registry -n default

# Create in argocd (using YAML since kubectl command fails for you)
cat > registry-secret.yaml << 'YAML'
apiVersion: v1
kind: Secret
metadata:
  name: cased-cd-registry
  namespace: argocd
type: kubernetes.io/dockerconfigjson
data:
  .dockerconfigjson: eyJhdXRocyI6IHsicmVnaXN0cnkuY2FzZWQuY29tIjogeyJ1c2VybmFtZSI6ICJKb3NoIEN1c3RvbWVyIiwgInBhc3N3b3JkIjogImc4Tmx3N2tNaEtUVFRsYkxzblVDcnNXbTN0OFI0WmZGeFd6WFRMbFZuQzgiLCAiYXV0aCI6ICJTbTl6YUNCRGRYTjBiMjFsY2pwbk9FNXNkemRyVFdoTFZGUlViR0pNYzI1VlEzSnpWMjB6ZERoU05GcG1SbmhYZWxoVVRHeFdia000In19fQ==
YAML

kubectl apply -f registry-secret.yaml

# Verify
kubectl get secret cased-cd-registry -n argocd

# Install in argocd namespace
helm install cased-cd cased/cased-cd --namespace argocd --set enterprise.enabled=true --set enterprise.auditTrail.enabled=true --set enterprise.image.repository=registry.cased.com/cased/cased-cd-enterprise --set imagePullSecrets[0].name=cased-cd-registry

Recommendation

Either approach works! Most people install Cased CD in the same namespace as ArgoCD (argocd), but installing in default is totally fine for testing.

Quick path: Install in default since your secret is already there (Steps 1-4 above).

Standard path: Move secret to argocd namespace and install there (Alternative section above).


Token Details

  • Registry: registry.cased.com
  • Username: Josh Customer
  • Token: g8Nlw7kMhKTTTlbLsnUCrsWm3t8R4ZfFxWzXTLlVnC8
  • Expires: 2025-11-27

Support: support@cased.com

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