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

Administrator account login failure and ingress issue #2875

Closed
leesp-1975 opened this issue Aug 12, 2024 · 2 comments
Closed

Administrator account login failure and ingress issue #2875

leesp-1975 opened this issue Aug 12, 2024 · 2 comments
Labels
argo-cd bug Something isn't working no-issue-activity

Comments

@leesp-1975
Copy link

Describe the bug

values.yaml

config:
secret:
argocdServerAdminPassword: test0000

When deployed as above using helm, admin.password: test0000 is normally displayed in the Secrets name argocd-secret.
However, when logging in with admin // test0000 it fails

Or

kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d
Error from server (NotFound): secrets "argocd-initial-admin-secret" not found

server:
ingress:
enabled: true
ingressClassName: "nginx"
hostname: test.example.com

helm template result -->

image

-->
If you actually run it, ingress is not created.

Related helm chart

argo-cd

Helm chart version

7.4.2

To Reproduce

See Describe the bug

Expected behavior

See Describe the bug

Screenshots

No response

Additional context

No response

@leesp-1975 leesp-1975 added the bug Something isn't working label Aug 12, 2024
@leesp-1975 leesp-1975 changed the title Administrator account login failure and issue Administrator account login failure and ingress issue Aug 12, 2024
@leesp-1975
Copy link
Author

The phrase argocd-initial-admin-secret that appears after installation should be removed.

image

htpasswd -nbBC 10 "" password | tr -d ':\n' | sed 's/$2y/$2a/

kubectl -n argocd patch secret argocd-secret
-p '{"stringData": {
"admin.password": "values",
"admin.passwordMtime": "'$(date +%FT%T%Z)'"
}}'

I was able to log in after the patch.

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
argo-cd bug Something isn't working no-issue-activity
Projects
None yet
Development

No branches or pull requests

2 participants