📘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 chart has been split into parts to address the Kubernetes ETCD limitation. Learn more >>

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 branch with same name as the version, e.g. 1.3.1.

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

    1. Update Chart.yaml file. 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.

    3. Update values.yaml with the tagged version of the docker image.

  4. Check in the changes on this branch

  5. Create a tag following tagging conventions. E.g. v1.3.1.

  6. The Github workflow action to package Helm and push on openg2p-helm repo's gh-pages branch should be triggered automatically and the chart published.

  7. Update the Versions page on this documentation.

The Github workflow triggers only if the branch already exists and changes are applied on the branch. So create the branch first on Github directly and push the Helm changes.

Making package availabe on Rancher

Last updated

Logo

Copyright © 2024 OpenG2P. This work is licensed under Creative Commons Attribution International LicenseCC-BY-4.0 unless otherwise noted.