You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an Eclipse JKube user, I want to be able to install the chart JKube generates, so that I can deploy it to my Kubernetes/OpenShift cluster.
Proposal
JKube Kit
JKube Kit exposes a new method install that installs the exploded chart available in the coordinates (output directory, helm type, and so on -see resolveTarballFile-) provided in the HelmConfig argument.
The chart should have been previously generated using the generateHelmCharts method.
The installation result is logged, fields provided include:
name
namespace
status
revision
lastDeployed
If installation fails, error message is logged
Maven plugins
The Kubernetes Maven Plugin and OpenShift Maven Plugin expose a new helm-install goal in a HelmInstallMojo and OpenshiftHelmInstallMojo that extends the basic HelmMojo (following a similar approach to that of HelmPushMojo and HelmLintMojo).
The mojos are bound by default to the LifecyclePhase.INSTALL phase.
Tests should be added for each of the mojos and also for KubernetesPluginTest, OpenShiftPluginTest, and GeneratedPluginDescriptorTest.
Gradle plugins
The Kubernetes Gradle Plugin and OpenShift Gradle Plugin expose a new helmInstall task in a KubernetesHelmInstallTask and OpenShiftHelmInstallTask that extends the basic AbstractJKubeTask task.
Individual tests should be added for the new tasks and also for the plugins to verify task precedence.
An e2e test proves that the task can be executed both, with a successful and a failed installation.
Documentation
The documentation exposes for each of the Maven, Gradle, Kubernetes, and OpenShift plugins the new install goal/task.
It includes a section with the installation options that can be provided in the HelmConfig argument and properties.
Documentation should be reviewed to replace any reference to the helm install CLI command with the new helm-install goal/task.
The text was updated successfully, but these errors were encountered:
Helm: helm-install task/goal
#2663
Description
As an Eclipse JKube user, I want to be able to install the chart JKube generates, so that I can deploy it to my Kubernetes/OpenShift cluster.
Proposal
JKube Kit
JKube Kit exposes a new method
install
that installs the exploded chart available in the coordinates (output directory, helm type, and so on -seeresolveTarballFile
-) provided in theHelmConfig
argument.The chart should have been previously generated using the
generateHelmCharts
method.install
command.releaseName
:jkube.helm.release.name
Optional, if not specified, the release name should be inferred following the same procedure used to compute default image and resource names.
installDependencyUpdate
:jkube.helm.install.dependencyUpdate
Optional, if not provided should default to
true
.Helm: Update chart's on-disk dependencies (k8s:helm-dependency-update) #2110
installWaitReady
:jkube.helm.install.waitReady
name
namespace
status
revision
lastDeployed
Maven plugins
The Kubernetes Maven Plugin and OpenShift Maven Plugin expose a new
helm-install
goal in aHelmInstallMojo
andOpenshiftHelmInstallMojo
that extends the basicHelmMojo
(following a similar approach to that ofHelmPushMojo
andHelmLintMojo
).The mojos are bound by default to the
LifecyclePhase.INSTALL
phase.Tests should be added for each of the mojos and also for
KubernetesPluginTest
,OpenShiftPluginTest
, andGeneratedPluginDescriptorTest
.Gradle plugins
The Kubernetes Gradle Plugin and OpenShift Gradle Plugin expose a new
helmInstall
task in aKubernetesHelmInstallTask
andOpenShiftHelmInstallTask
that extends the basicAbstractJKubeTask
task.Individual tests should be added for the new tasks and also for the plugins to verify task precedence.
An e2e test proves that the task can be executed both, with a successful and a failed installation.
Documentation
The documentation exposes for each of the Maven, Gradle, Kubernetes, and OpenShift plugins the new install goal/task.
It includes a section with the installation options that can be provided in the
HelmConfig
argument and properties.Documentation should be reviewed to replace any reference to the
helm install
CLI command with the newhelm-install
goal/task.The text was updated successfully, but these errors were encountered: