Interview Prep/Helm/Values & Precedence

What is `global` in values?

IntermediateConceptValues & Precedence
Answer

.Values.global is the one key Helm copies into every subchart. Setting global.imageRegistry: 123456789012.dkr.ecr.ap-south-1.amazonaws.com in the parent makes it available as .Values.global.imageRegistry in the parent and in all subcharts, at every nesting depth.

global:
  imageRegistry: registry.internal
  storageClass: gp3

Only charts that read global.* benefit; check helm show values of each dependency.

All Helm questions Roadmap: Helm

More on Values & Precedence