argo1/copy-admin-password.sh

4 lines
123 B
Bash
Executable File

#!/bin/bash
kubectl get secret -n argocd argocd-initial-admin-secret -o json | jq -r '.data.password | @base64d' | pbcopy