fix(scripts): auto use KUBECONFIG when getting ArgoCD password

This commit is contained in:
Khue Doan 2021-11-17 16:55:42 +07:00
parent 0d3b851d4e
commit 433214e770

View File

@ -1,4 +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