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

JVM trait refactoring #5476

Closed
2 of 3 tasks
squakez opened this issue May 8, 2024 · 0 comments · Fixed by #5488
Closed
2 of 3 tasks

JVM trait refactoring #5476

squakez opened this issue May 8, 2024 · 0 comments · Fixed by #5488
Assignees
Labels
area/traits kind/feature New feature or request
Milestone

Comments

@squakez
Copy link
Contributor

squakez commented May 8, 2024

Following up a brief analysis done for #5462 I realized we may need a few changes to the JVM trait in order to be able to really run as non-root Integration Pods. Taking the opportunity of this requirement, we should work in order to allow the following sub-features for this trait:

  • Execute the binary jar built in the container (as a default a quarkus jar app, later any other runtime jar app) : Evaluate how we can fully support fa(s)t-jar execution #5539
  • Allow the execution of distroless Java based containers (ie, removing the default print-command that forces the presence of a shell)
  • Being executed by a sourceless Integration, letting the user to specify any JVM parameter that can be appended to the default entrypoint
@squakez squakez added kind/feature New feature or request area/traits labels May 8, 2024
@squakez squakez added this to the 2.4.0 milestone May 8, 2024
@squakez squakez self-assigned this May 8, 2024
squakez added a commit to squakez/camel-k that referenced this issue May 9, 2024
* Added `jar` parameter which is automatically populated with the Kit executable Jar
* Deprecated `print-command` in order to let distroless to work OOTB

Ref apache#5476
squakez added a commit to squakez/camel-k that referenced this issue May 9, 2024
* Added `jar` parameter which is automatically populated with the Kit executable Jar
* Deprecated `print-command` in order to let distroless to work OOTB

Ref apache#5476
squakez added a commit to squakez/camel-k that referenced this issue May 9, 2024
squakez added a commit to squakez/camel-k that referenced this issue May 21, 2024
* Added `jar` parameter which is automatically populated with the Kit executable Jar
* Deprecated `print-command` in order to let distroless to work OOTB

Ref apache#5476
squakez added a commit to squakez/camel-k that referenced this issue May 21, 2024
squakez added a commit to squakez/camel-k that referenced this issue May 23, 2024
* add more unit test
* enable the trait for synthetic Kits
* add documentation on the jvm trait usage

Closes apache#5476
@squakez squakez linked a pull request May 23, 2024 that will close this issue
squakez added a commit to squakez/camel-k that referenced this issue May 28, 2024
* add more unit test
* enable the trait for synthetic Kits
* add documentation on the jvm trait usage

Closes apache#5476
squakez added a commit that referenced this issue May 29, 2024
* add more unit test
* enable the trait for synthetic Kits
* add documentation on the jvm trait usage

Closes #5476
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/traits kind/feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant