feat(scripts): add script to get ArgoCD initial admin password

This commit is contained in:
Khue Doan 2021-09-20 00:15:19 +07:00
parent e06ba36c80
commit c38c06a071
2 changed files with 7 additions and 0 deletions

3
scripts/README.md Normal file
View File

@ -0,0 +1,3 @@
# Scripts
Quick (and maybe dirty) scripts to automate common tasks.

4
scripts/argocd-password Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
# Get ArgoCD initial admin password
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d