Interview Prep/Helm/Values & Precedence

How do you see which values a release was deployed with?

BeginnerConceptValues & Precedence
Answer
helm get values shop -n shop                 # user-supplied overrides only
helm get values shop -n shop --all           # fully merged, including chart defaults
helm get values shop -n shop --revision 4 -o yaml > rev4-values.yaml

--revision lets you compare what changed between two deploys. These values may contain secrets, so avoid printing them in shared CI logs.

All Helm questions Roadmap: Helm

More on Values & Precedence