mirror of
https://github.com/khuedoan/homelab.git
synced 2025-02-02 04:14:28 +07:00
fix(scripts): auto use KUBECONFIG when getting ArgoCD password
This commit is contained in:
parent
0d3b851d4e
commit
433214e770
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user