Convert bb-common from library chart to subchart
General MR
Summary
Convert the keycloak package from consuming bb-common as a library chart to consuming it as a subchart. The istio / networkPolicies / routes configuration now lives under a top-level bb-common: key and is validated by bb-common's own values.schema.json; the base domain moves to the Helm-global global.domain.
Changes:
chart/values.yaml— movedistio,networkPolicies,routesunderbb-common:;domain→global.domain; route host templated from.Values.global.domain.- Removed the library include wrappers
chart/templates/bigbang/{istio,network-policies,routes}.yaml; bb-common's subchart render templates now emit these resources. chart/templates/bigbang/ispn-ha-peerauth-exception.yaml(package-owned PeerAuthentication for the JGroups 7800 exception) reads(index .Values "bb-common").istioand is gated to sidecar mode (enabled && not ambient).chart/values.schema.json— removed the hand-duplicated top-levelistio/networkPolicies/routes/domainblocks; bb-common's subchart schema validates thebb-common:subtree. This also retires the recurring need to re-dropadditionalProperties: falsefrom the istio block after everyscripts/schema.shsync.- Chart.yaml
7.3.2-bb.1→7.3.2-bb.2, CHANGELOG entry, regenerated README.
Relevant logs/screenshots
Local package:default DISABLE_CORE=true deploy on k3d against the paired umbrella branch — all helm test suites Phase: Succeeded (incl. keycloak-script-test and keycloak-cypress-test):
Also validated: standalone helm template (inbound host resolves from global.domain), negative schema test (--set bb-common.istio.injection=enabled rejected by bb-common's schema), ambient/istio-off gating of the PeerAuthentication, helm unittest (package + umbrella suites), and a full HelmRelease merge render (common + defaults + overlays) against the paired umbrella branch.
Linked Issue
Closes #321 (closed)
Umbrella Branch
keycloak-bb-common-subchart
Upgrade Notices
This conversion relocates and removes values. Operators overriding keycloak values under addons.keycloak.values must migrate:
domain→global.domain.istio,networkPolicies,routes→ nested underbb-common(e.g.istio.enabled→bb-common.istio.enabled). Overrides at the old top-level paths no longer apply.istio.injection— removed (library-chart-era; not part of the bb-common schema). Sidecar/ambient behavior derives frombb-common.istio.enabledandbb-common.istio.ambient.enabled.istio.hardened.customServiceEntries/istio.hardened.customAuthorizationPolicies— removed. Setbb-common.istio.serviceEntries.custom/bb-common.istio.authorizationPolicies.customdirectly instead.
