khuedoan-homelab/scripts/argocd-admin-password

6 lines
189 B
Bash
Executable File

#!/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