mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-13 00:04:46 +07:00
1c586813a2
Easier to test and less maintenance
8 lines
295 B
Bash
Executable File
8 lines
295 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
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-${env}.yaml
|
|
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d
|