feat(scripts): add script to wait for important services to reach heathy state

This commit is contained in:
Khue Doan
2021-11-30 00:08:27 +07:00
parent 03ac8ebc7d
commit 3f8515c0dc
4 changed files with 25 additions and 0 deletions

5
scripts/argocd-admin-password Executable file
View File

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