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
What happened:
After install, I run kubectl kudo get instances
$ kubectl kudo get instances
Error: creating kudo client: operators: customresourcedefinitions.apiextensions.k8s.io "operators.kudo.dev" not found
What you expected to happen:
Not show an error without user meaning. It could provide a friendly message telling that I should run kubectl kudo init in order to have instances.
How to reproduce it (as minimally and precisely as possible):
New installation, and then run the command.
The text was updated successfully, but these errors were encountered:
What I see as a solution here is to do some validation before actually creating a client and make sure that the cluster is initialized. Potentially we would want to have that check before many other commands because most of them expect the server to be initialized.
What happened:
After install, I run
kubectl kudo get instances
$ kubectl kudo get instances Error: creating kudo client: operators: customresourcedefinitions.apiextensions.k8s.io "operators.kudo.dev" not found
What you expected to happen:
Not show an error without user meaning. It could provide a friendly message telling that I should run
kubectl kudo init
in order to have instances.How to reproduce it (as minimally and precisely as possible):
The text was updated successfully, but these errors were encountered: