Loading video player...
Argo CD configuration management the production way. ✅ What you’ll learn in this video: Where Argo CD settings live in Kubernetes (ConfigMaps & Secrets) argocd-cm vs argocd-secret — what goes where and what must NOT go to Git Why kubectl apply on a small argocd-cm file can break Argo CD (real CrashLoopBackOff scenario) The safe method: kubectl patch (merge patch) + verification + rollback Demo settings (for learning): UI Banner + Status Badge (and why the badge is unauthenticated) ✅ Hands-on included: Exact copy-paste commands Patch + rollback files you can commit safely Troubleshooting steps if Argo CD server crashes Official Documentation used (copyable): Declarative setup: https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/ Custom styles / UI banner: https://argo-cd.readthedocs.io/en/stable/operator-manual/custom-styles/ Status badge: https://argo-cd.readthedocs.io/en/stable/user-guide/status-badge/ ---------- mkdir -p modules/module-01/day04-config-management/platform argocd-cm.day04.patch.json { "data": { "ui.bannercontent": "🚧 TechITFactory: Day04 settings demo — argocd-cm", "ui.bannerurl": "https://members.techitfactory.com", "statusbadge.enabled": "true" } } EOF argocd-cm.day04.rollback.patch.json { "data": { "ui.bannercontent": null, "ui.bannerurl": null, "statusbadge.enabled": null } } EOF kubectl -n argocd label cm argocd-cm \ app.kubernetes.io/name=argocd-cm \ app.kubernetes.io/part-of=argocd \ --overwrite kubectl -n argocd get pods kubectl -n argocd get cm kubectl -n argocd get secret mkdir -p .local/day04-backups kubectl -n argocd get cm argocd-cm -o yaml [change to symbol] .local/day04-backups/argocd-cm.yaml kubectl -n argocd get cm argocd-rbac-cm -o yaml [change to symbol] .local/day04-backups/argocd-rbac-cm.yaml kubectl -n argocd get cm argocd-cmd-params-cm -o yaml [change to symbol] .local/day04-backups/argocd-cmd-params-cm.yaml # local only — NEVER commit kubectl -n argocd get secret argocd-secret -o yaml [change to symbol] .local/day04-backups/argocd-secret.yaml kubectl -n argocd patch cm argocd-cm --type merge --patch-file \ platform/argocd-cm.day04.patch.json kubectl -n argocd rollout restart deploy/argocd-server kubectl -n argocd rollout status deploy/argocd-server kubectl -n argocd port-forward svc/argocd-server 8080:80 kubectl -n argocd patch cm argocd-cm --type merge --patch-file \ platform/argocd-cm.day04.rollback.patch.json kubectl -n argocd rollout restart deploy/argocd-server kubectl -n argocd rollout status deploy/argocd-server ------------- #argocd #gitops #kubernetes #devops #techitfactory