flowable

by Flowable OSS

Helm chartv7.1.0App 7.1.0Apache-2.0

A Flowable Helm chart for Kubernetes

About this chart

Flowable

This is a helm chart for the Flowable UI and Flowable REST.

TL;DR;

helm repo add flowable-oss https://flowable.github.io/helm/

helm install my-flowable flowable-oss/flowable

Installing the Chart

To install the local chart with the release name my-flowable:

helm install my-flowable .

To install the repo chart with the release name my-flowable:

helm repo add flowable-oss https://flowable.github.io/helm/

helm install my-flowable flowable-oss/flowable \
    --create-namespace --namespace=flowable \
    --set host.external=<cluster external hostname> --set ingress.useHost=true \
    --set postgres.storage.storageClassName=default

This will install Flowable as the my-flowable release in the flowable namespace.

It will also configure Ingress mapping rules for route on the specified host. This requires an Ingress controller to be active on the cluster. For more info see the main README.

The StorageClassName will be set to default.

Uninstalling the Chart

To uninstall/delete the my-flowable deployment:

helm remove my-flowable

The command removes all the Kubernetes components associated with the chart and deletes the release.

Signed Chart

Starting with version 6.7.3 the Flowable Helm chart is signed.

The public PGP key can be obtained via keyservers: keybase.io and pgp.mit.edu. Or in this repository.

There are several tools that provide support for verifying the integrity and origin of the chart. Verifying manually can be done following the steps below.

Obtain Public Key

Import key from keybase.io

curl https://keybase.io/flowable_oss/pgp_keys.asc | gpg --import

or

Import key from pgp.mit.edu

gpg --keyserver pgp.mit.edu --recv-keys 6AE252EB

Export Public Keyring in GPG format

After importing the public key into your local keyring you need to export it to the .gpg format using the following command.

gpg --output pubring.gpg --export 6AE252EB

Verify Signed Helm Chart

Add the Flowable Helm chart this was not done yet.

helm repo add flowable-oss https://flowable.github.io/helm/

You can then use helm fetch --verify to verify the signed chart.

helm fetch --verify flowable_oss/flowable --version 7.0.0 --keyring pubring.gpg

Chart Configuration

The following tables lists the configurable parameters of the Flowable chart and their default values.

ParameterDescriptionDefault
host.externalExternal cluster IP or FQDNlocalhost
database.nameDatabase nameflowable
database.usernameDatabase userflowable
database.passwordDatabase passwordflowable
cloudSql.enabledEnables Google Cloud SQL for databasefalse
cloudSql.credentialsGoogle Cloud SQL credentials secret referencecloudsql-credentials.json
ingress.enabledEnables Ingrestrue
ingress.sslRedirectEnables SSL redirectfalse
ingress.useHostEnables host based routing using external host.external ( this must be a FQDN)false
ingress.classIngress class namenginx
ingress.clusterIssuerIngress cert manager cluster issuer``
rest.enabledEnables Flowable REST (either enable Flowable UI or Flowable REST)true
rest.replicasNumber of replicated pods1
rest.service.nameKubernetes service nameflowable-rest
rest.contextPathTomcat servlet mapping/
rest.ingressPathIngress path mappingflowable-rest
rest.image.repositoryDocker image nameflowable/flowable-rest
rest.image.tagDocker tag namelatest
rest.image.pullPolicyDocker pull policyAlways
rest.resources.requests.cpuKubernetes CPU request100m
rest.resources.requests.memoryKubernetes memory request1Gi
rest.resources.limits.cpuKubernetes CPU limit1
rest.resources.limits.memoryKubernetes memory limit1Gi
rest.resources.javaOptsJVM options-Xmx1g -Xms1g
postgres.enabledWill deploy and configure a PostgreSQL database instancetrue
postgres.service.nameKubernetes service nameflowable-postgres
postgres.storage.storageClassNameKubernetes storage class name for peristent volume claimstandard
postgres.storage.sizePeristent volume claim resource request size1Gi
postgres.resources.requests.cpuKubernetes CPU request100m
postgres.resources.requests.memoryKubernetes memory request1Gi
postgres.resources.limits.cpuKubernetes CPU limit1000m
postgres.resources.limits.memoryKubernetes memory limit1Gi

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example;

helm install my-flowable flowable-oss/flowable \
  --set postgres.enabled=false

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example;

helm install my-flowable flowable-oss/flowable -f values.yaml

Deploy flowable with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has flowable on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartflowable is pinned at v7.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply