Convert bb-common from library chart to subchart
General MR
Summary
Converts the package's use of bb-common from a library chart to a subchart. Istio, network policy, and route configuration now lives under the bb-common key and is validated by bb-common's own values.schema.json; domain moves to global.domain so Helm propagates it to the subchart. The library include templates under chart/templates/bigbang/ are removed and bb-common renders those resources itself.
Rendered output is unchanged for an equivalent set of values. The paired umbrella branch wires the HelmRelease values secret with bbCommonSubchart, drops the _bb-common-migrations.tpl shim and the legacy istio.hardened.* key mapping, and emits the SSO outbound route only when SSO is enabled (bb-common's schema requires hosts on every outbound route).
Relevant logs/screenshots
helm templateof the package before and after the conversion with equivalent values is identical (33 resources).- End-to-end render (umbrella values secret layered onto the package chart) before and after is identical apart from the chart version label and the
kubeAPIegress definition, which now comes from the umbrella's globalnetworkPolicies.egress.definitions.kubeAPIinstead of the removedcontrolPlaneCidr/vpcCidrshim. - CI pipeline 5763142:
default clean installandsso clean installpass against the paired umbrella branch. - Upgrade jobs are skipped (
skip-job-upgradelabel): the released 0.45.0-bb.1 ships Cypress selectors that no longer match the Keycloak 7.3.x login theme (fixed here), so its pre-upgrade SSO test fails on main regardless of this change; the values relocation is also a breaking change covered by the Upgrade Notices below. - bb-common schema validation is active:
--set bb-common.istio.injection=enabledis rejected withadditional properties 'injection' not allowed. - Umbrella helm-unittest suites for headlamp pass (16 tests).
- Local k3d clean install against the paired umbrella branch (istio, kyverno, gateways; core disabled): HelmRelease
headlampReady on chart0.45.0-bb.2; VirtualService, PeerAuthentication, and NetworkPolicies rendered from thebb-commonvalues; Cypress UI and Flux-plugin Helm tests passed. A second local deploy withtests/test-sso-values.yaml(Keycloak 7.3.2-bb.2) passed the full SSO login flow with the updated selectors.
$ helm test headlamp-headlamp -n bigbang
NAME: headlamp-headlamp
LAST DEPLOYED: Tue Oct 20 19:47:17 2026
NAMESPACE: headlamp
STATUS: deployed
REVISION: 1
DESCRIPTION: Install complete
TEST SUITE: allow-egress-from-headlamp-headlamp-cypress-test-to-anywhere-any-port
Last Started: Tue Oct 20 14:55:17 2026
Last Completed: Tue Oct 20 14:55:17 2026
Phase: Succeeded
TEST SUITE: headlamp-headlamp-cypress-config
Last Started: Tue Oct 20 14:55:17 2026
Last Completed: Tue Oct 20 14:55:17 2026
Phase: Succeeded
TEST SUITE: headlamp-headlamp-cypress-test
Last Started: Tue Oct 20 14:55:17 2026
Last Completed: Tue Oct 20 14:55:44 2026
Phase: SucceededLinked Issue
Umbrella Branch
101-headlamp-bb-common-subchart
Upgrade Notices
Big Bang values that override Headlamp's istio, networkPolicies, or routes must move under a bb-common key (packages.headlamp.values.bb-common.<istio|networkPolicies|routes>).
packages.headlamp.values.domainis nowpackages.headlamp.values.global.domain.istio.injectionis removed; sidecar behavior is driven bybb-common.istio.enabledandbb-common.istio.ambient.enabled.- The legacy
istio.hardened.customServiceEntriesandistio.hardened.customAuthorizationPoliciesoverrides are no longer translated; setbb-common.istio.serviceEntries.customandbb-common.istio.authorizationPolicies.custominstead. - The legacy
istio.headlamp.enabled|hosts|gatewaysroute overrides are no longer translated; setbb-common.routes.inbound.headlamp.enabled|hosts|gatewaysinstead. networkPolicies.controlPlaneCidrandnetworkPolicies.vpcCidrno longer feed Headlamp's Kubernetes API egress policy; the globalnetworkPolicies.egress.definitions.kubeAPIdefinition is used instead.