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

feat(cli): disconnected run and bind #3198

Merged
merged 1 commit into from
May 5, 2022

Conversation

squakez
Copy link
Contributor

@squakez squakez commented Apr 13, 2022

If we detect the -o option, then the CLI goes in offline mode, allowing to be used without a K8S cluster.

You can run

kamel run ./examples/languages/Sample.java -o yaml
kamel bind timer:foo log:bar -o yaml

and getting the output even if not connected to the cluster.

Closes #3021

Release Note

feat(cli): disconnected run and bind

@squakez squakez mentioned this pull request Apr 19, 2022
@squakez squakez force-pushed the feat/3021_disconnected_run branch 3 times, most recently from 00a9593 to 87bcfbf Compare April 22, 2022 09:36
If we detect the -o option, then the CLI goes in offline mode, allowing to be used without a K8S cluster.

Closes apache#3021
@squakez squakez force-pushed the feat/3021_disconnected_run branch from c22d627 to 606d336 Compare May 5, 2022 10:19
@squakez
Copy link
Contributor Author

squakez commented May 5, 2022

Errors not related.

@squakez squakez merged commit 80b46f4 into apache:main May 5, 2022
@squakez squakez deleted the feat/3021_disconnected_run branch May 5, 2022 14:09
@catshout
Copy link

Hi folks, is this contained in 1.9.0 yet or will this be available in 1.9.1?

@squakez
Copy link
Contributor Author

squakez commented May 12, 2022

Hi folks, is this contained in 1.9.0 yet or will this be available in 1.9.1?

It wasn't approved in time for 1.9.0. Will be in 1.9.1 (which is on vote btw).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kamel local run/build practices for creating a YAML output
4 participants