Overview

December 1, 2020 ยท View on GitHub

A Helm chart definition to deploy the sample java extension.

Parameters

ParameterDescriptionDefault Value
image.repositoryThe docker imagegabbi/sample-extension-java:0.0.7
image.pullPolicyThe image pull policyAlways
jdbc.urlURL of Database to connectjdbc:h2:mem:testdb
jdbc.userDatabase usernamesa
jdbc.passwordDatabase passwordkyma4ever
jdbc.driverJDBC Driverorg.h2.Driver

To Deploy

Must Haves

  • kubectl
  • Helm3
  • kubectl is configured to KUBECONFIG downloaded from Kyma Runtime.

Helm install

To install the helm chart in dev namespace, run the following command.

You can provide the various parameters in the install command as shown below. Change to use your image. You can also override other parameters defined in values.yaml

helm -n dev install kymaapp . --set image.repository=gabbi/sample-extension-java:0.0.7 --set jdbc.user={db user} --set jdbc.password={db password}

or,

provide a customized values.yaml with parameters configured and run the command

helm install kymaapp . -f values.yaml -n dev

Cleanup

helm del kymaapp -n dev