setup: @echo "Creating Kind cluster..." kind create cluster --name gitops-playground || true @echo "Installing ArgoCD..." kubectl create namespace argocd || true kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml @echo "Waiting for ArgoCD components (this may take a moment)..." kubectl wait --for=condition=available deployment -l "app.kubernetes.io/name=argocd-server" -n argocd --timeout=300s @echo "Applying Application Manifest..." kubectl apply -f argocd/application.yaml @echo "------------------------------------------------" @echo "✅ Setup Complete!" @echo "Access ArgoCD UI:" @echo " 1. Port-forward: kubectl port-forward svc/argocd-server -n argocd 8080:443" @echo " 2. Open: https://localhost:8080" @echo " 3. Password:" @echo "kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath=\"{.data.password}\" | base64 -d; echo" @echo " 4. Username: admin" clean: kind delete cluster --name gitops-playground