UNCLASSIFIED - NO CUI

Convert bb-common from library chart to subchart

General MR

Summary

Twistlock now consumes bb-common as a subchart instead of a library chart. Istio, NetworkPolicy, and route config live under a bb-common key and are validated by bb-common's schema, so typos and unsupported keys fail at render time instead of being silently ignored.

Two behaviors the chart used to handle internally are now driven by values (Big Bang sets both automatically):

  • console.backendTLS: the chart no longer rewrites the console route port. bb-common.routes.inbound.console.port must match console.ports.managementHttps, and rendering fails with a clear error if it doesn't.
  • deploymentMode.defenderOnly: the chart no longer suppresses the console route and NetworkPolicies. In Big Bang, defender-only mode disables both.

The paired umbrella branch also fixes the wildcard Tempo egress override, which was missing its to: key and never took effect.

Relevant logs/screenshots

  • Default and full-feature (istio + authz + netpol) renders are identical to main apart from template source paths.
  • Schema enforcement confirmed: --set bb-common.istio.injection=enabled is rejected (at '/istio': additional properties 'injection' not allowed).
  • Package helm unit tests: 63/63 passed. Umbrella twistlock unit tests: 7/7 passed (plus 42 other umbrella suites that reference twistlock).
  • Simulated HelmRelease merge of umbrella common/defaults/overlays renders cleanly; backendTLS routes to 8083, defender-only disables the route and NetworkPolicies.
  • Local k3d clean install against the paired umbrella branch: all HelmReleases ready; the subchart rendered the VirtualService, PeerAuthentications, AuthorizationPolicies, ServiceEntries, Sidecar, and NetworkPolicies. All helm tests (script + Cypress) passed.
  • The console was OOMKilled at the 8Gi limit in the default and ambient test values (locally and in CI), so Cypress hit a 503 while it restarted. Those limits are raised to 16Gi to match the SSO test values, which got the same bump on 2026-09-23.

Linked Issue

#277 (closed)

Umbrella Branch

277-twistlock-bb-common-subchart

Upgrade Notices

Big Bang values that override Twistlock's istio, networkPolicies, or routes must move under a bb-common key (e.g. packages.twistlock.values.istio.serviceEntries → packages.twistlock.values.bb-common.istio.serviceEntries).

  • domain moved to global.domain.
  • istio.injection removed (not in the bb-common schema).
  • istio.tempo removed (unused).
  • istio.hardened.customServiceEntries / customAuthorizationPolicies are no longer translated. Use bb-common.istio.serviceEntries.custom / bb-common.istio.authorizationPolicies.custom.
  • Legacy istio.console.enabled / hosts / gateways are no longer mapped onto the console route. Use bb-common.routes.inbound.console.*.
  • The umbrella networkPolicies.controlPlaneCidr / vpcCidr no longer feed Twistlock's kubeAPI egress definition. Set the global networkPolicies.egress.definitions.kubeAPI instead (bb-common defaults to private ranges).
  • The umbrella networkPolicies.nodeCidr and the package's networkPolicies.nodeCidr / controlPlaneCidr are removed. Override the nodeCidrs ingress definition via the global networkPolicies.ingress.definitions.nodeCidrs or bb-common.networkPolicies.ingress.definitions.nodeCidrs.
  • Standalone (non-Big Bang) users of console.backendTLS must set bb-common.routes.inbound.console.port to the HTTPS management port (8083). Standalone users of deploymentMode.defenderOnly should disable bb-common.routes.inbound.console and bb-common.networkPolicies.
Edited by Rob Ferguson

Merge request reports

Loading
Loading