You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running kp import (and possibly other commands) against a Kubernetes cluster, and the access to that cluster is blocked/expired/invalid, the response could be misleading.
In the case of kp import, the response is failed to get default repository, use "kp config default-repository" to set...
When running a simple command such as kubectl get pods against the same expired cluster, the error would be Unauthorized.
The error in kp could be misleading and make users search for issues that are unrelated to the access problem, so it's best to have a good error message to indicate it instead.
Thanks.
The text was updated successfully, but these errors were encountered:
When running
kp import
(and possibly other commands) against a Kubernetes cluster, and the access to that cluster is blocked/expired/invalid, the response could be misleading.In the case of
kp import
, the response isfailed to get default repository, use "kp config default-repository" to set...
When running a simple command such as
kubectl get pods
against the same expired cluster, the error would beUnauthorized
.The error in kp could be misleading and make users search for issues that are unrelated to the access problem, so it's best to have a good error message to indicate it instead.
Thanks.
The text was updated successfully, but these errors were encountered: