Loading
Add custom dependencies to built-in HelmReleases
Summary
- Add a shared
dependsOncontract for built-in package configuration. - Append user-supplied dependencies to existing generated dependencies for all 44 built-in HelmReleases.
- Use the shared renderer for generic and wrapped custom packages.
- Preserve legacy and
packageConfiguration.version: v1configuration paths. - Document the common dependency configuration and add focused schema/rendering tests.
Validation
helm lint ./chartscripts/generate-package-schemas.sh --check- All 44 built-in HelmRelease templates rendered with an additional dependency.
- Legacy, unified
packages.*, and wrapped custom-package paths rendered successfully. tests/bats/generate-package-schemas/generate-package-schemas.bats
Local environment notes
helm-unittestis not installed locally; CI will run the Helm unit-test suite.- The full Bats suite was attempted, but unrelated tests require GNU
timeout,parallel, or a newer Bash than the local environment provides.
Linked Issue
Closes #3380 (closed)
Upgrade Notices
N/A - no breaking changes. The dependsOn key retains its original additive behavior. The new dependsOnOverride key is an opt-in replacement path.
Edited by Kirby Liu