argo1/copy-admin-password.sh

4 lines
123 B
Bash
Raw Normal View History

2023-06-23 14:32:37 +00:00
#!/bin/bash
kubectl get secret -n argocd argocd-initial-admin-secret -o json | jq -r '.data.password | @base64d' | pbcopy