$ brew install argocd
$ argocd version
$ kubectl port-forward svc/argocd-server -n argocd 8080:443
$ kubectl get secret argocd-initial-admin-secret -n argocd -o json | jq “.data | map_values(@base64d)”
“` reset password
# bcrypt(xxxx)=$2b$12$H5jWbxxxxxxxxxxxxxxx.3aaA2xLQY4iZHZgI.y
kubectl -n argocd patch secret argocd-secret \
-p ‘{“stringData”: {
“admin.password”: “$2b$12$H5jWbxxxxxxxxxxxxxxx.3aaA2xLQY4iZHZgI.y”,
“admin.passwordMtime”: “‘$(date +%FT%T%Z)’”
}}’
“`
argocd login –insecure –username admin –password xxxx –grpc-web 127.0.0.1:8080
cat ~/.argocd/config
command line
https://argo-cd.readthedocs.io/en/stable/user-guide/commands/argocd/
Leave a Reply