You must deploy to a region with an air-gapped cluster. How do you handle values and images?
AdvancedScenarioValues & Environments
Answer
Situation read → No internet: chart dependencies, images and OCI pulls must come from inside.
What I'd do →
- Mirror charts (
helm pullthenhelm pushto the internal registry) including subcharts, and vendor them intocharts/at package time. - Mirror every image referenced by the rendered manifests:
helm template ... | yq '..|.image? | select(.)' | sort -u. - Override registries via
global.imageRegistryor per-image values. - Package a single
.tgzwith dependencies included so install needs no repo access. - Verify with
helm templatethat no image still points to a public registry.
Why → Air-gapped deploys fail on the first external reference; rendering is how you find them all.
Interview tip → Mention extracting images from rendered output rather than trusting the README.
More on Values & Environments
Dev, staging and prod values files have drifted and nobody knows which settings differ intentionally. What do you do?IntermediateA deploy pipeline uses `--reuse-values` and a new chart version just broke production. Why, and what do you change?AdvancedYou need a per-environment image tag set by CI, while everything else lives in Git. How do you wire it?BeginnerA value that should be `false` in prod keeps rendering as enabled. Where do you look?IntermediateDifferent clusters need different storage classes and ingress classes. How do you keep the chart portable?IntermediateA developer passes 20 `--set` flags in a shell script. What would you change?Beginner