Add script for getting initial admin password

This commit is contained in:
Victor Timofei 2021-12-29 16:16:12 +02:00
parent 708abdbf51
commit 6af08f9f80
Signed by: vtimofei
GPG Key ID: B790DCEBE281403A
1 changed files with 7 additions and 0 deletions

7
get-argocd-admin-password.sh Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/bash
source ./env
${KUBECTL_BIN} -n argocd \
get secret argocd-initial-admin-secret \
-o jsonpath='{.data.password}' | base64 -d