How do you get the initial admin password and log in from the CLI?
BeginnerConceptRapid-Fire Commands
Answer
argocd admin initial-password -n argocd
kubectl -n argocd port-forward svc/argocd-server 8080:443
argocd login localhost:8080 --username admin --insecure
Then change it with argocd account update-password and delete argocd-initial-admin-secret.
More on Rapid-Fire Commands
How do you create an Application from the CLI with auto-sync?BeginnerHow do you see exactly what would change before syncing?BeginnerHow do you force Argo CD to re-render manifests ignoring its cache?BeginnerHow do you wait in a pipeline until an app is synced and healthy?IntermediateHow do you register a new cluster and list clusters?BeginnerHow do you stop a stuck sync operation?Intermediate