UNCLASSIFIED - NO CUI

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 — moved istio, networkPolicies, routes under bb-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").istio and is gated to sidecar mode (enabled && not ambient).
  • chart/values.schema.json — removed the hand-duplicated top-level istio/networkPolicies/routes/domain blocks; bb-common's subchart schema validates the bb-common: subtree. This also retires the recurring need to re-drop additionalProperties: false from the istio block after every scripts/schema.sh sync.
  • 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):

keycloak-helmtest

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 under bb-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 from bb-common.istio.enabled and bb-common.istio.ambient.enabled.
  • istio.hardened.customServiceEntries / istio.hardened.customAuthorizationPolicies — removed. Set bb-common.istio.serviceEntries.custom / bb-common.istio.authorizationPolicies.custom directly instead.
Edited by Rob Ferguson

Merge request reports

Loading
Loading