kubernetes-do-challenge/get-argocd-admin-password.sh

8 lines
144 B
Bash
Executable File

#!/usr/bin/bash
source ./env
${KUBECTL_BIN} -n argocd \
get secret argocd-initial-admin-secret \
-o jsonpath='{.data.password}' | base64 -d