Lion Cipher Lab

Review a Helm chart before you install it: render it, lint it, decide

Why it matters

Installing a chart from the internet is running someone else's instructions with your cluster's permissions. A chart can ask for a privileged container, mount the Docker socket, or hard-code a risky default, and the person installing often never reads the rendered result. Reviewing before installing is the cheapest control in the whole pipeline: it needs no cluster, finds problems before they exist, and gives you evidence for the decision to accept, patch or refuse.

What you'll learn

Steps in this lab

  1. The rule, and why review comes first
  2. Write a practice chart with risky defaults
  3. Look at the knobs: helm show values
  4. Render it to plain YAML and read what would be created
  5. helm lint: well formed is not the same as safe
  6. KubeLinter: lint the chart for safety
  7. Run every check, not just the defaults
  8. Sort the findings: what can a values file fix?
  9. Apply the fixes you can, and verify before you trust a chart
  10. The defender's view: this is a gate, not the only gate

Open the full interactive lab →

Keep learning