This repository contains the Helm charts meant to be consumed by ArgoCD.
To create a new helm chart in this directory, do the following:
-
Create a new helm chart skeleton
helm create <CHARTNAME>
-
Remove unused parts
rm -r <CHARTNAME>/templates/{*.yaml,NOTES.txt,tests}
-
Remove unused charts directory
rm -r <CHARTNAME>/charts
-
Clear out the values file
> <CHARTNAME>/values.yaml
-
Fill out the <CHARTNAME>/Chart.yaml file
-
Add new templates into <CHARTNAME>/templates/
-
Template out values into <CHARTNAME>/values.yaml
-
Test out the configuration
helm template <CHARTNAME>
-
Write the documentation for the Helm Chart to <CHARTNAME>/README.md
Oneliner for copy and paste (Will do nothing if directory already exists):
CHARTNAME=newchart
[ ! -d ${CHARTNAME} ] && helm create ${CHARTNAME} && rm -r ${CHARTNAME}/templates/{*.yaml,NOTES.txt,tests} ${CHARTNAME}/charts && > ${CHARTNAME}/values.yaml