Open TWpower opened 4 days ago
hey, @TWpower Looks like an interesting issue.
I saw some requests about mismatching between token expiration and policy settings https://www.googlecloudcommunity.com/gc/Cloud-Hub/gcloud-token-is-expiring-every-1hour/td-p/733736
But might be, it was just near the end of token expiration tine, when you started the test, so it's expired during test executiom? So,
Describe the bug When using kubectl testkube api, the call works fine initially, but after about an hour, it returns the following error. The error occurs at the end after using the --watch command. Could you help me identify the problem? My GCP authentication is set to expire after 4 hours. Where and why is the authorization fail?
To Reproduce Steps to reproduce the behavior:
get test execution details (error: api/GET-testkube.Execution returned error: api server response: '{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"Unauthorized","reason":"Unauthorized","code":401}
' error: Unauthorized)
Error: Process completed with exit code 1.
Client Version: v1.30.0 Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3 Server Version: v1.30.3-gke.1969001