Convert bb-common from library chart to subchart
Summary
Converts the package from consuming bb-common as a library chart to consuming it as a subchart. Istio and NetworkPolicy configuration now lives under the bb-common key in chart/values.yaml and is validated by bb-common's own values.schema.json; the library include templates under chart/templates/bigbang/ are removed and bb-common renders the resources itself. domain moves to global.domain. Keys that only restated bb-common defaults (the whole istio block, networkPolicies.additionalPolicies) are dropped from the package values since the subchart supplies them.
Rendered output is unchanged apart from the template source paths. Package unit tests are retargeted at the bb-common render templates, and the docs/dev override are updated for the new nesting.
Paired umbrella change: 120-renovate-bb-common-subchart (sets bbCommonSubchart, nests defaults under bb-common, drops the mergeLegacyIstioHardenedKeys shim and the schema-invalid istio.hardened.enabled default, adds a values unit test suite).
Relevant logs/screenshots
helm templatebefore/after diff: identical resources (only# Source:comments differ)- Schema validation active:
--set bb-common.istio.injection=enabledfails withadditional properties 'injection' not allowed - Package helm unittest: 3 suites / 9 tests pass
- Umbrella helm unittest (
unittests/packages/renovate,unittests/packages/values): pass - HelmRelease merge simulated with the umbrella-rendered values secret: renders cleanly with NetworkPolicies, PeerAuthentication, and a custom ServiceEntry from the overlay
- Local k3d clean install (istio, kyverno, package only) against the paired umbrella branch: HelmRelease Ready, bb-common NetworkPolicies/PeerAuthentication rendered by the subchart, and the package helm test (gitea fixture + renovate script test) finished with
Phase: Succeededfor every suite
Linked Issue
Umbrella Branch
120-renovate-bb-common-subchart
Upgrade Notices
Big Bang values that override Renovate's istio or networkPolicies must move under a bb-common key (packages.renovate.values.bb-common.istio, packages.renovate.values.bb-common.networkPolicies).
domainis nowglobal.domainistio.injectionis removed (not part of the bb-common schema)istio.hardened.enabledon the Renovate package values is removed; sidecar mode followspackages.istiod.values.hardened.enabledistio.hardened.customServiceEntries/istio.hardened.customAuthorizationPoliciesare no longer translated; setbb-common.istio.serviceEntries.custom/bb-common.istio.authorizationPolicies.customdirectly