Skip to content

Instantly share code, notes, and snippets.

@initcron
Created October 5, 2023 13:53
Show Gist options
  • Select an option

  • Save initcron/09d8b6c70d527b5e8894472efa83a895 to your computer and use it in GitHub Desktop.

Select an option

Save initcron/09d8b6c70d527b5e8894472efa83a895 to your computer and use it in GitHub Desktop.
# bcrypt(password)=$2a$10$rRyBsGSHK6.uc8fntPwVIuLVHgsAhAX7TcdrqW/RADU0uh7CaChLa
kubectl -n argocd patch secret argocd-secret \
-p '{"stringData": {
"admin.password": "$2a$10$rRyBsGSHK6.uc8fntPwVIuLVHgsAhAX7TcdrqW/RADU0uh7CaChLa",
"admin.passwordMtime": "'$(date +%FT%T%Z)'"
}}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment