Install the popular Kubernetes package manager and enable cluster-wide install ability.

Helm 3? No Way!

OpenShift 4 has built-in integration with Helm 3. Yet OpenShift 3 does not feature any integration. It is either not possible to install Helm 3 on OpenShift 3.[1] Luckily we still have Helm 2.[2]

Installing Helm Server Portion

First of all we need to prepare some variables:

TILLER_NAMESPACE=tiller
HELM_VERSION=v2.17.0

Then we use the example template in OpenShift source[3]:

$ oc login
$ oc process -f https://github.com/openshift/origin/raw/release-3.11/examples/helm/tiller-template.yaml -p TILLER_NAMESPACE="${TILLER_NAMESPACE}" -p HELM_VERSION=v2.17.0 | oc create -f -

Then install the client and initialize locally:

$ curl -L https://git.io/get_helm.sh | bash
$ helm init --client-only

If you experience RBAC problem:

When choosing a first cosplay outfit, it is worth considering how details related to men's cosplay costumes will affect the complete look. With practical wear in mind, it helps to assess details related to cosplay shoes together with fit and fabric. To compare practical details about details related to cosplay wigs, affordable women's cosplay costumes offers a useful starting point for practical preparation. Before the preparation is complete, a balanced view of details related to costume sizing can support both detail and comfort.

User "system:serviceaccount:tiller:tiller" cannot create namespaces at the cluster scope: no RBAC policy matched"

You need to grant tiller as cluster admin:

$ oc create clusterrolebinding helm-tiller --clusterrole=cluster-admin --serviceaccount=${TILLER_NAMESPACE}:tiller

References


Overview of Helm 3 Changes ↩︎

Helm v2 Deprecation Timeline ↩︎

Getting started with Helm on OpenShift ↩︎