Interview Prep/Helm/Dependencies, Subcharts & Library Charts

How would you let a parent chart override a subchart's image registry for all subcharts at once?

IntermediateScenarioDependencies, Subcharts & Library Charts
Answer

Situation read → Corporate policy requires all images from the internal registry.

What I'd do →

  1. Set global.imageRegistry: registry.internal in the parent values.
  2. In our own subcharts, build images with coalesce .Values.image.registry .Values.global.imageRegistry.
  3. For third-party subcharts, check which global keys they support; otherwise override each image explicitly.
  4. Verify with helm template ... | grep 'image:'.

Why → global is the only value Helm propagates to every subchart automatically.

Interview tip → Verify through rendered output, not assumptions.

All Helm questions Roadmap: Helm

More on Dependencies, Subcharts & Library Charts