Interview Prep/Helm/Dependencies, Subcharts & Library Charts

How do you vendor and patch a third-party subchart safely?

AdvancedConceptDependencies, Subcharts & Library Charts
Answer

Order of preference:

  1. Use its values (most needs are covered).
  2. Use a post-renderer (Kustomize patch) without forking.
  3. Pull and vendor it (helm pull repo/chart --version X --untar -d charts/), commit it, and apply a small, documented patch, tracking upstream with a script.

Forking means you own upgrades and CVE fixes forever, so we only do it when upstream is unmaintained.

All Helm questions Roadmap: Helm

More on Dependencies, Subcharts & Library Charts