Data and lifecycle
A Postgres subchart on CloudNativePG, CRDs and operators, migration hooks, and the Helm 4 release lifecycle.
Dependencies and a Postgres subchart
Add a shipping-postgres subchart that renders a CloudNativePG Cluster, switch it with a condition, and wire the service to it with import-values.
CRDs and operators
What the crds/ directory does and does not do, why an application chart ships custom resources and not operators, and how to fail fast when an operator is missing.
Hooks and database migrations
Run the schema migration as a Helm hook Job, choose between pre-install and post-install, and avoid the deadlock between hooks and --wait.
The release lifecycle
Drive one release through good upgrades, failed upgrades and rollbacks with --wait, --rollback-on-failure and --cleanup-on-fail, and see what Helm 4 stores and how server-side apply changes conflicts.