📘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.
Decide on which branch you would like to create the tag.
On the marked branch create another branch with same name as the version, e.g. 1.3.1.
On this branch make the necessary changes in the chart:
Update
Chart.yaml
file. Make sure 3 digit version without any suffix is updated in the file.Update any dependency chart versions. Make sure all the versions of other charts are frozen versions.
Update
values.yaml
with the tagged version of the docker image.
Check in the changes on this branch
Create a tag following tagging conventions. E.g.
v1.3.1
.The Github workflow action to package Helm and push on
openg2p-helm
repo'sgh-pages
branch should be triggered automatically and the chart published.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