-
Notifications
You must be signed in to change notification settings - Fork 515
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc(helm): documentation for Helm Install feature
Signed-off-by: Rohan Kumar <[email protected]>
- Loading branch information
1 parent
c6cef34
commit d8db3e6
Showing
8 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
jkube-kit/doc/src/main/asciidoc/inc/helm/_jkube_helm_install.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
ifeval::["{plugin-type}" == "maven"] | ||
[[jkube:helm-install]] | ||
== *{goal-prefix}:helm-install* | ||
endif::[] | ||
ifeval::["{plugin-type}" == "gradle"] | ||
[[jkubeHelmInstall]] | ||
=== *{task-prefix}HelmInstall* | ||
endif::[] | ||
|
||
This feature allows you to install your Eclipse JKube-generated | ||
https://helm.sh/docs/topics/charts[Helm charts] | ||
|
||
ifeval::["{plugin-type}" == "maven"] | ||
include::maven/_mvn_helm_install.adoc[] | ||
endif::[] | ||
ifeval::["{plugin-type}" == "gradle"] | ||
include::gradle/_gradle_helm_install.adoc[] | ||
endif::[] | ||
|
||
.Helm Install configuration | ||
[cols="1,5,1"] | ||
|=== | ||
| Element | Description | Property | ||
|
||
| *releaseName* | ||
| Name of Helm Release (instance of a chart running in a Kubernetes cluster). | ||
| `jkube.helm.release.name` | ||
|
||
| *installDependencyUpdate* | ||
| update dependencies if they are missing before installing the chart | ||
| `jkube.helm.install.dependencyUpdate` | ||
|
||
| *installWaitReady* | ||
| if set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment, StatefulSet, or ReplicaSet are in a ready state before marking the release as successful. | ||
| `jkube.helm.install.waitReady` | ||
|
||
|=== | ||
|
||
.Example Helm Install configuration | ||
ifeval::["{plugin-type}" == "maven"] | ||
include::maven/_example_helm_install_config.adoc[] | ||
endif::[] | ||
ifeval::["{plugin-type}" == "gradle"] | ||
include::gradle/_example_helm_install_config.adoc[] | ||
endif::[] |
10 changes: 10 additions & 0 deletions
10
jkube-kit/doc/src/main/asciidoc/inc/helm/gradle/_example_helm_install_config.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[source,groovy,indent=0,subs="verbatim,quotes,attributes"] | ||
---- | ||
kubernetes { | ||
helm { | ||
releaseName = "test-release" | ||
installWaitReady = false | ||
installDependencyUpdate = false | ||
} | ||
} | ||
---- |
10 changes: 10 additions & 0 deletions
10
jkube-kit/doc/src/main/asciidoc/inc/helm/gradle/_gradle_helm_install.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
To install Helm chart you need to invoke the `{task-prefix}HelmInstall` Gradle task on the command line: | ||
|
||
[source, sh, subs="+attributes"] | ||
---- | ||
gradle {task-prefix}Resource {task-prefix}Helm {task-prefix}HelmInstall | ||
---- | ||
|
||
[NOTE] | ||
The `{task-prefix}Resource` and the `{task-prefix}Helm` tasks are required to create the resource descriptors which are included in the Helm chart and the Helm chart itself. | ||
If you have already built the resource and created the chart, then you can omit these tasks. |
12 changes: 12 additions & 0 deletions
12
jkube-kit/doc/src/main/asciidoc/inc/helm/maven/_example_helm_install_config.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[source,xml,indent=0,subs="verbatim,quotes,attributes"] | ||
---- | ||
<plugin> | ||
<configuration> | ||
<helm> | ||
<releaseName>test-release</dependencySkipRefresh> | ||
<installDependencyUpdate>false</dependencyVerify> | ||
<installWaitReady>false</installWaitReady> | ||
</helm> | ||
</configuration> | ||
</plugin> | ||
---- |
10 changes: 10 additions & 0 deletions
10
jkube-kit/doc/src/main/asciidoc/inc/helm/maven/_mvn_helm_install.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
To install a Helm chart you need to invoke the `{goal-prefix}:helm-install` Maven goal on the command line: | ||
|
||
[source, sh, subs="+attributes"] | ||
---- | ||
mvn {goal-prefix}:resource {goal-prefix}:helm {goal-prefix}:helm-install | ||
---- | ||
|
||
[NOTE] | ||
The `{goal-prefix}:resource` and the `{goal-prefix}:helm` goals are required to create the resource descriptors which are included in the Helm chart and the Helm chart itself. | ||
If you have already built the resource and created the chart, then you can omit these goals. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters