关于Argocd命令行登陆报错问题,原因是用户认证过期,重新命令行登陆Argocd即可
# argocd repo list
WARN[0000] Failed to invoke grpc call. Use flag --grpc-web in grpc calls. To avoid this warning message, use flag --grpc-web.
FATA[0000] rpc error: code = Unauthenticated desc = invalid session: Token is expired
[root@c-k-m1-10 ~]# argocd login argocd.k8s.local
WARNING: server certificate had error: x509: certificate is valid for ingress.local, not argocd.k8s.local. Proceed insecurely (y/n)? y
WARN[0002] Failed to invoke grpc call. Use flag --grpc-web in grpc calls. To avoid this warning message, use flag --grpc-web.
Username: admin
Password:
'admin:login' logged in successfully
Context 'argocd.k8s.local' updated
重新使用客户端命令行
[root@c-k-m1-10 ~]# argocd app list
WARN[0000] Failed to invoke grpc call. Use flag --grpc-web in grpc calls. To avoid this warning message, use flag --grpc-web.
NAME CLUSTER NAMESPACE PROJECT STATUS HEALTH SYNCPOLICY CONDITIONS REPO
我们一直奔跑在进步的旅途