Charts for a platform · wrap-up
Cheat sheet & self-check
9 questions across 3 lessons. Each answer links back to the lesson it came from.
Pick an answer to see if you got it, and why.
Q1. What is a library chart?
Show answer
B. Service charts depend on it and call its templates, so shared logic lives in one versioned place.
From lesson 04 · Library and umbrella chartsQ2. How does a security fix in the library reach existing services?
Show answer
B. Versioned dependencies plus automated update PRs carry the change while each service still tests and rolls it out.
From lesson 04 · Library and umbrella chartsQ3. What is the main drawback of an umbrella chart for many independent services?
Show answer
B. Umbrellas suit things released together; independent services are better deployed separately.
From lesson 04 · Library and umbrella chartsQ4. What does Helm do with CRDs in a chart's crds/ directory on helm upgrade?
Show answer
B. This protects custom resources, but means CRD upgrades must be handled separately.
From lesson 05 · CRDs and hooksQ5. A chart puts its CRDs in templates/ so they get upgraded. What is the danger?
Show answer
B. Deleting a CRD cascades to all its objects; for operators this can mean losing databases, certificates or policies.
From lesson 05 · CRDs and hooksQ6. Why are database migrations in pre-upgrade hooks risky?
Show answer
B. Application rollback and schema rollback are different problems; design migrations so old and new versions both work.
From lesson 05 · CRDs and hooksQ7. What does helm-unittest check?
Show answer
B. Unit tests assert on rendered output (for example 'when ingress.enabled is false, no Ingress is rendered').
From lesson 06 · Testing chartsQ8. Why run policy checks on rendered manifests in CI when the cluster already enforces policy at admission?
Show answer
B. Same rules, earlier feedback; admission remains the enforcement that can't be skipped.
From lesson 06 · Testing chartsQ9. For a library chart used by 300 services, what kind of test is especially valuable?
Show answer
B. A small template change multiplies across every consumer; golden outputs make the impact explicit.
From lesson 06 · Testing charts