forked from eclipse-jkube/jkube
-
Notifications
You must be signed in to change notification settings - Fork 0
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 Uninstall feature
Signed-off-by: Rohan Kumar <[email protected]>
- Loading branch information
1 parent
729dc8a
commit b1754e2
Showing
12 changed files
with
108 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
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
36 changes: 36 additions & 0 deletions
36
jkube-kit/doc/src/main/asciidoc/inc/helm/_jkube_helm_uninstall.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,36 @@ | ||
ifeval::["{plugin-type}" == "maven"] | ||
[[jkube:helm-uninstall]] | ||
== *{goal-prefix}:helm-uninstall* | ||
endif::[] | ||
ifeval::["{plugin-type}" == "gradle"] | ||
[[jkubeHelmUninstall]] | ||
=== *{task-prefix}HelmUninstall* | ||
endif::[] | ||
|
||
This feature allows you to remove Helm release from {cluster} | ||
|
||
ifeval::["{plugin-type}" == "maven"] | ||
include::maven/_mvn_helm_uninstall.adoc[] | ||
endif::[] | ||
ifeval::["{plugin-type}" == "gradle"] | ||
include::gradle/_gradle_helm_uninstall.adoc[] | ||
endif::[] | ||
|
||
.Helm Uninstall configuration | ||
[cols="1,5,1"] | ||
|=== | ||
| Element | Description | Property | ||
|
||
| *releaseName* | ||
| Name of Helm Release (instance of a chart running in a {cluster} cluster). | ||
| `jkube.helm.release.name` | ||
|
||
|=== | ||
|
||
.Example Helm Uninstall configuration | ||
ifeval::["{plugin-type}" == "maven"] | ||
include::maven/_example_helm_uninstall_config.adoc[] | ||
endif::[] | ||
ifeval::["{plugin-type}" == "gradle"] | ||
include::gradle/_example_helm_uninstall_config.adoc[] | ||
endif::[] |
8 changes: 8 additions & 0 deletions
8
...e-kit/doc/src/main/asciidoc/inc/helm/gradle/_example_helm_uninstall_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,8 @@ | ||
[source,groovy,indent=0,subs="verbatim,quotes,attributes"] | ||
---- | ||
kubernetes { | ||
helm { | ||
releaseName = "test-release" | ||
} | ||
} | ||
---- |
10 changes: 10 additions & 0 deletions
10
jkube-kit/doc/src/main/asciidoc/inc/helm/gradle/_gradle_helm_uninstall.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 uninstall a Helm release you need to invoke the `{task-prefix}HelmUninstall` gradle task on the command line: | ||
|
||
[source, sh, subs="+attributes"] | ||
---- | ||
gradle {task-prefix}Resource {task-prefix}Helm {task-prefix}HelmInstall {task-prefix}HelmUninstall | ||
---- | ||
|
||
[NOTE] | ||
The `{task-prefix}Resource`, `{task-prefix}Helm` and `{task-prefix}HelmInstall` tasks are required to ensure that Helm release gets installed in {cluster}. | ||
If you already have the Helm release installed on {cluster}, then you can omit these tasks. |
4 changes: 4 additions & 0 deletions
4
jkube-kit/doc/src/main/asciidoc/inc/helm/gradle/_helm_uninstall.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,4 @@ | ||
[source, sh, subs="+attributes"] | ||
---- | ||
./gradlew {task-prefix}HelmUninstall | ||
---- |
10 changes: 10 additions & 0 deletions
10
jkube-kit/doc/src/main/asciidoc/inc/helm/maven/_example_helm_uninstall_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,xml,indent=0,subs="verbatim,quotes,attributes"] | ||
---- | ||
<plugin> | ||
<configuration> | ||
<helm> | ||
<releaseName>test-release</releaseName> | ||
</helm> | ||
</configuration> | ||
</plugin> | ||
---- |
4 changes: 4 additions & 0 deletions
4
jkube-kit/doc/src/main/asciidoc/inc/helm/maven/_helm_uninstall.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,4 @@ | ||
[source, sh, subs="+attributes"] | ||
---- | ||
mvn {goal-prefix}:helm-uninstall | ||
---- |
10 changes: 10 additions & 0 deletions
10
jkube-kit/doc/src/main/asciidoc/inc/helm/maven/_mvn_helm_uninstall.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 uninstall a Helm release you need to invoke the `{goal-prefix}:helm-uninstall` Maven goal on the command line: | ||
|
||
[source, sh, subs="+attributes"] | ||
---- | ||
mvn {goal-prefix}:resource {goal-prefix}:helm {goal-prefix}:helm-install {goal-prefix}:helm-uninstall | ||
---- | ||
|
||
[NOTE] | ||
The `{goal-prefix}:resource`, `{goal-prefix}:helm` and `{goal-prefix}:helm-install` goals are required to ensure that Helm release gets installed in {cluster}. | ||
If you already have the Helm release installed on {cluster}, 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
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