Creating or updating a chart
Creating a new chart
Create a new branch and create the new chart in a folder
/charts/<new_chart>. This will contain, at least,Chart.yaml,CHANGELOG.md,README.mdandvalues.yamlfiles.The
Chart.yamlfile should contain a version number and this should be recorded inCHANGELOG.md.Chart purpose and functionality should be fully described in
README.md.Create a documemtation file
/docs/src/charts/<new_chart>.rstand link this to theREADME.md- as for the existing charts.Update
/docs/src/index.rst.Packaging your new chart:
cd ska-sdp-helmdeploy-charts helm package charts/<new_chart> -d chart-repo helm repo index chart-repo
Make sure you replace
<new_chart>with the actual chart name.Test the chart.
Create a merge request and get it approved and merged.
Your chart is now available to be accessed from the
chart-repodirectory.
Updating an existing chart
Create a new branch and update the chosen chart as needed.
Update the version number of your chart in
Chart.yaml.Document your change in
CHANGELOG.md.Packaging your new chart:
cd ska-sdp-helmdeploy-charts helm package charts/<updated_chart> -d chart-repo helm repo index chart-repo
Make sure you replace
<updated_chart>with the actual chart name.Do NOT remove older versions of
<updated_chart>in chart-repo as they should still be available versions.Update the chart
README.md, and commit and push the changes.Test the chart, make sure it is backwards compatible. If not, dependencies are also updated.
Create a merge request and get it approved and merged.
Your chart is now available to be accessed from the
chart-repodirectory.