Skip to content

Commit

Permalink
feat(scripts): print warnings when getting admin credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
khuedoan committed Jul 25, 2022
1 parent 5ec740c commit 5c004b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/argocd-admin-password
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion scripts/vault-root-token
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 5c004b4

Please sign in to comment.