K8SAPP Helm Procedure
These are my preferences for an air-gapped organization. Flavor to your
own taste.
Fetch
- Name the repo
k8sapp-<somethingshort>
- Create a
README.md
with title K8SAPP: <long name>
- Create a
helm
directory and change into
- Add remote repo to helm with same short name
- Update the helm repo
- Pull the chart tarball down locally
- Pull and cache the
index.yaml
file to detect changes later
Validate
- Understand the README.md in the chart
- Understand the Chart.yaml file
- Understand the values.yaml file
- Understand the template directory
- Peruse the rendered Kubernetes resource files
helm template shortname . > /tmp/shortname.yaml
- Identify and download all image dependencies locally
- Locally scan images for security compliance and dependencies
- Ensure clean legal FOSS pedigree
- Strongly document any changes to the template itself
- Pushed validated images to private registry
Check
- Update the repo
helm repo update shortname
- Check for new chart additions
helm search repo shortname -l -o yaml | diff charts.yaml -; echo $?