up version attempts to make a call to the current cluster to determine the crossplane and spaces versions. If the cluster is not reachable, it outputs a partial response and then fails with an error message. Ideally we would fail more gracefully. Perhaps:
Client Version: v0.29.0
Server Version: <unknown>
Spaces Controller Version: <unknown>
Maybe we still show the error message? Maybe we log errors to a stderr file?
What happened?
up version
attempts to make a call to the current cluster to determine the crossplane and spaces versions. If the cluster is not reachable, it outputs a partial response and then fails with an error message. Ideally we would fail more gracefully. Perhaps:Maybe we still show the error message? Maybe we log errors to a stderr file?
How can we reproduce it?
Create a faulty kubeconfig and run
up version
What environment did it happen in?