UNCLASSIFIED - NO CUI

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 template of 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 kubeAPI egress definition, which now comes from the umbrella's global networkPolicies.egress.definitions.kubeAPI instead of the removed controlPlaneCidr/vpcCidr shim.
  • CI pipeline 5763142: default clean install and sso clean install pass against the paired umbrella branch.
  • Upgrade jobs are skipped (skip-job-upgrade label): 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=enabled is rejected with additional 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 headlamp Ready on chart 0.45.0-bb.2; VirtualService, PeerAuthentication, and NetworkPolicies rendered from the bb-common values; Cypress UI and Flux-plugin Helm tests passed. A second local deploy with tests/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:          Succeeded

Linked Issue

#101 (closed)

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.domain is now packages.headlamp.values.global.domain.
  • istio.injection is removed; sidecar behavior is driven by bb-common.istio.enabled and bb-common.istio.ambient.enabled.
  • The legacy istio.hardened.customServiceEntries and istio.hardened.customAuthorizationPolicies overrides are no longer translated; set bb-common.istio.serviceEntries.custom and bb-common.istio.authorizationPolicies.custom instead.
  • The legacy istio.headlamp.enabled|hosts|gateways route overrides are no longer translated; set bb-common.routes.inbound.headlamp.enabled|hosts|gateways instead.
  • networkPolicies.controlPlaneCidr and networkPolicies.vpcCidr no longer feed Headlamp's Kubernetes API egress policy; the global networkPolicies.egress.definitions.kubeAPI definition is used instead.
Edited by Rob Ferguson

Merge request reports

Loading
Loading