Argo-cd: argocd-server Username or Password not working on fresh install

Created on 9 Jan 2019  路  3Comments  路  Source: argoproj/argo-cd

I followed the documentation but changed the version to v0.11.0-rc5 and I can't seem to to argocd login ... as if the password was not updated somewhere. I get the following error:

FATA[0016] rpc error: code = Unauthenticated desc = Invalid username or password

Any suggestions on what to try would be appreciated. The only workaround was to disable auth with the flag --disable-auth for the argocd-server deployment.

Most helpful comment

To reset password you might remove 'admin.password' and 'admin.passwordMtime' keys from argocd-secret and restart api server pod. Password will be reset to pod name

kubectl patch secret argocd-secret  -p '{"data": {"admin.password": null, "admin.passwordMtime": null}}'

All 3 comments

We broke this going from rc4 to rc5. We will be releasing a new rc with the fix here:
https://github.com/argoproj/argo-cd/pull/1000

To reset password you might remove 'admin.password' and 'admin.passwordMtime' keys from argocd-secret and restart api server pod. Password will be reset to pod name

kubectl patch secret argocd-secret  -p '{"data": {"admin.password": null, "admin.passwordMtime": null}}'

https://github.com/argoproj/argo-cd/blob/master/docs/faq.md#i-forgot-the-admin-password-how-do-i-reset-it

Was this page helpful?
0 / 5 - 0 ratings