Open janosmiko opened 1 year ago
Hi, Which flag should be used to make argocd login work without complaining about the TLS . I tried doing all three mentioned above, None of them worked.
Hi all, I'm facing the same issue as this. Is there a solution?
I've tried using --skip-test-tls
but this has resulted with a 'connection reset by peer` issues instead of bypassing the warning.
Hello guys,
I also would like some way to auto-confirm on this command to ignore the flag warning about TLS, I think most people are using argo in kube clusters and probably have TLS termination on the ingress so when connecting to argo-cd from inside cluster in most cases TLS would be absent.
To come back to this topic, you can use --plaintext flag to make your login command work, I use these 3 flags to connect to argocd from a pod in the same cluster as argo : --insecure --grpc-web --plaintext
From the manual of the CLI : --plaintext: Disable TLS
Hope this helps !
EDIT: for my use case, using only --plaintext
works aswell
Checklist:
argocd version
.Describe the bug
When I'm using an insecure ArgoCD instance and I'm trying to login using
--grpc-web
and--insecure
the argocd cli asks for confirmation. When I add the--skip-test-tls
flag it will retry on port 443 even nothing is configured to use TLS. The--assumeYes
flag is not available for this subcommand.To Reproduce
Expected behavior
--insecure
flag is provided the cli should not complain about proceeding without TLS.--assumeYes
flag (that is used forapp sync
should be available here too to automatically proceed.--skip-test-tls
should help)Version