📘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.
Decide on which branch you would like to create the tag.
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
).On this branch make the necessary changes in the chart:
Update all
Chart.yaml
files. 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 (not develop/prerelease versions).
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 containingimage:
.)
Commit the changes on this branch
Create a tag following tagging conventions out of this temporary branch. E.g.
v1.3.1
.The GitHub workflow action to package Helm charts and push to the
openg2p-helm
repo should be triggered automatically.Delete the temporary branch that was created in the above steps.
Update the Versions page on this documentation.
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).
Do NOT make these changes to the temporary branch directly on GitHub. Create the temporary branch on GitHub first, commit all the changes locally, and then make a push to the temporary branch from local. (This is done this way because of how the GitHub action gets triggered.)
Last updated
Was this helpful?