mirror of
https://github.com/khuedoan/homelab.git
synced 2024-12-22 14:54:32 +07:00
feat(scripts): print warnings when getting admin credentials
This commit is contained in:
parent
5ec740c08b
commit
5c004b47f4
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Get ArgoCD initial admin password
|
||||
echo "WARNING: ArgoCD admin can do anything in the cluster, only use it for just enough initial setup or in emergencies." >&2
|
||||
export KUBECONFIG=./metal/kubeconfig.yaml
|
||||
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Get Vault root token
|
||||
echo "WARNING: Root token can do anything in Vault, only use it for just enough initial setup or in emergencies." >&2
|
||||
export KUBECONFIG=./metal/kubeconfig.yaml
|
||||
kubectl get secrets vault-unseal-keys -n vault -o jsonpath='{.data.vault-root}' | base64 --decode
|
||||
|
Loading…
Reference in New Issue
Block a user