📘Helm Packaging Guide

How to create a Helm Package for Social Registry

Concepts

Social Registry and all its dependencies are installed using a single Helm chart. Helm package is the highest level of package that is offered for module installation. The Helm package contains all dependencies and is intended to be installed "single click" from Rancher or the command line. The contents of the Helm package may be found in the Chart.yaml file*. Learn more on Helm charts, versioning and publishing here.

The package hierarchy is depicted below.

Steps

Tagging Helm repo

The charts are located in this repo.

  1. Decide on which branch you would like to create the tag.

  2. On the marked branch, create another temporary branch with the same name as the version, e.g. 1.3.1 (or some generic name like temp).

  3. On this branch make the necessary changes in the chart:

    1. Update all Chart.yaml files. Make sure 3 digit version without any suffix is updated in the file.

    2. Update any dependency chart versions. Make sure all the versions of other charts are frozen versions (not develop/prerelease versions).

    3. Update values.yaml with the tagged version of all the Docker images. (There are multiple places where tags of docker images have to be updated. Find all lines containing image:.)

  4. Commit the changes on this branch

  5. Create a tag following tagging conventions out of this temporary branch. E.g. v1.3.1.

  6. The GitHub workflow action to package Helm charts and push to the openg2p-helm repo should be triggered automatically.

  7. Delete the temporary branch that was created in the above steps.

  8. Update the Versions page on this documentation.

  9. Once the GitHub actions are finished, the packages should be available on Rancher also (Use the refresh button on the Rancher Charts page to see the latest versions).

Last updated

Was this helpful?