Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI command kamel help fail if not connected to any cluster #1906

Closed
squakez opened this issue Jan 13, 2021 · 1 comment · Fixed by #1907
Closed

CLI command kamel help fail if not connected to any cluster #1906

squakez opened this issue Jan 13, 2021 · 1 comment · Fixed by #1907
Assignees
Labels
kind/bug Something isn't working

Comments

@squakez
Copy link
Contributor

squakez commented Jan 13, 2021

When you are disconnected from a kubernetes cluster, kamel help will fail with following result:

$ kamel help
Error: cannot get command client: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable

I think we should instead provide the help screen as we do for kamel version command (that works also disconnected).

@squakez
Copy link
Contributor Author

squakez commented Jan 13, 2021

I can work on fixing this

@astefanutti astefanutti added the kind/bug Something isn't working label Jan 13, 2021
squakez added a commit to squakez/camel-k that referenced this issue Jan 14, 2021
Added an annotation to mark the help command to work also disconnected from cluster

Closes apache#1906
astefanutti pushed a commit that referenced this issue Jan 14, 2021
Added an annotation to mark the help command to work also disconnected from cluster

Closes #1906
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants