Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Credentials Generated #78

Closed
NormJohnIV opened this issue May 4, 2020 · 3 comments · Fixed by #1094
Closed

Invalid Credentials Generated #78

NormJohnIV opened this issue May 4, 2020 · 3 comments · Fixed by #1094
Labels
question Further information is requested

Comments

@NormJohnIV
Copy link

On a fresh install using the olm we cannot access argo via the ui or cli. All attempts respond with incorrect credentials. Checking the events and watching as the deployments come up we are positive this is the first container and not a recreated container. So, following this guide https://argoproj.github.io/argo-cd/faq/#i-forgot-the-admin-password-how-do-i-reset-it, we reset the password. No change. So, we also try deleting the admin.password and admin.passwordMtime as noted in the guide. This causes a new container to be create and the secret update with new credentials. We try logging in again with both the old pod and new pod name to no avail. We even tried to use the terminal in the pod to login thus ensuring the ingress was doing something weird. Again not success. Any assistance would be much appreciated.

@jomkz jomkz added the question Further information is requested label May 4, 2020
@NormJohnIV
Copy link
Author

After further testing and troubleshooting we found that a change was made 14 days ago and the password is both neither the pod name nor stored in the argocd-secret secret. Instead, the password in now a randomly generated password that is stored in a new secret named argocd-cluster. 80bd11a . This was quite confusing and the docs should be updated to reflect this change.

@gregsheremeta
Copy link

gregsheremeta commented May 5, 2020

thanks @NormJohnIV. Indeed this did it for me too. I was able to login with the password here:
kubectl get secret argocd-cluster -o yaml | yq r - "data.admin*" | base64 --decode

@Aenima4six2
Copy link

Aenima4six2 commented Jun 2, 2020

Can we get the docs updated? This just cost me four hours of pain.
https://argocd-operator.readthedocs.io/en/latest/usage/basics/#secrets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants