Skip to content

Commit

Permalink
doc(micronaut): added documentation for native builds (3298)
Browse files Browse the repository at this point in the history
Signed-off-by: Rohan Kumar <[email protected]>
  • Loading branch information
rohanKanojia authored Aug 6, 2024
1 parent 0a4787e commit 51987ea
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Usage:
./scripts/extract-changelog-for-version.sh 1.3.37 5
```
### 1.17-SNAPSHOT
* Fix #494: Support for Micronaut Framework Native Images
* Fix #1989: Remove storageClass related fields from VolumePermissionEnricher
* Fix #2098: Add support for multi-platform container image builds in jib build strategy
* Fix #2110: Add new helm dependency update goal task (`k8s:helm-dependency-update` for maven and `k8sHelmDependencyUpdate` for gradle)
Expand Down
22 changes: 21 additions & 1 deletion jkube-kit/doc/src/main/asciidoc/inc/generator/_micronaut.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,31 @@
The Micronaut generator (named `micronaut`) detects a Micronaut project by analyzing the plugin

ifeval::["{plugin-type}" == "maven"]
dependencies searching for `io.micronaut.build:micronaut-maven-plugin`.
dependencies searching for :

- `io.micronaut.build:micronaut-maven-plugin` (for Micronaut 3) or,
- `io.micronaut.maven:micronaut-maven-plugin` (for Micronaut 4)

endif::[]
ifeval::["{plugin-type}" == "gradle"]
dependencies searching for `io.micronaut.application:io.micronaut.application.gradle.plugin`.
endif::[]

This generator is based on the <<generator-java-exec, Java Application>> Generator and inherits all
of its configuration values.

The base images chosen are the following, however, these can be overridden using `jkube.generator.from` property:
[[generator-micronaut-from]]
.Webapp Base Images
[cols="1,4,4"]
|===
| | Docker Build | S2I Build

| *Native*
| `registry.access.redhat.com/ubi9/ubi-minimal:9.3`
| `registry.access.redhat.com/ubi9/ubi-minimal:9.3`

| *Normal Build*
| `quay.io/jkube/jkube-java`
| `quay.io/jkube/jkube-java`
|===

0 comments on commit 51987ea

Please sign in to comment.