UNCLASSIFIED - NO CUI

Convert bb-common from library chart to subchart

Summary

Converts the package from consuming bb-common as a library chart to consuming it as a subchart. Istio and NetworkPolicy configuration now lives under the bb-common key in chart/values.yaml and is validated by bb-common's own values.schema.json; the library include templates under chart/templates/bigbang/ are removed and bb-common renders the resources itself. domain moves to global.domain. Keys that only restated bb-common defaults (the whole istio block, networkPolicies.additionalPolicies) are dropped from the package values since the subchart supplies them.

Rendered output is unchanged apart from the template source paths. Package unit tests are retargeted at the bb-common render templates, and the docs/dev override are updated for the new nesting.

Paired umbrella change: 120-renovate-bb-common-subchart (sets bbCommonSubchart, nests defaults under bb-common, drops the mergeLegacyIstioHardenedKeys shim and the schema-invalid istio.hardened.enabled default, adds a values unit test suite).

Relevant logs/screenshots

  • helm template before/after diff: identical resources (only # Source: comments differ)
  • Schema validation active: --set bb-common.istio.injection=enabled fails with additional properties 'injection' not allowed
  • Package helm unittest: 3 suites / 9 tests pass
  • Umbrella helm unittest (unittests/packages/renovate, unittests/packages/values): pass
  • HelmRelease merge simulated with the umbrella-rendered values secret: renders cleanly with NetworkPolicies, PeerAuthentication, and a custom ServiceEntry from the overlay
  • Local k3d clean install (istio, kyverno, package only) against the paired umbrella branch: HelmRelease Ready, bb-common NetworkPolicies/PeerAuthentication rendered by the subchart, and the package helm test (gitea fixture + renovate script test) finished with Phase: Succeeded for every suite

Linked Issue

issue

Umbrella Branch

120-renovate-bb-common-subchart

Upgrade Notices

Big Bang values that override Renovate's istio or networkPolicies must move under a bb-common key (packages.renovate.values.bb-common.istio, packages.renovate.values.bb-common.networkPolicies).

  • domain is now global.domain
  • istio.injection is removed (not part of the bb-common schema)
  • istio.hardened.enabled on the Renovate package values is removed; sidecar mode follows packages.istiod.values.hardened.enabled
  • istio.hardened.customServiceEntries / istio.hardened.customAuthorizationPolicies are no longer translated; set bb-common.istio.serviceEntries.custom / bb-common.istio.authorizationPolicies.custom directly
Edited by Rob Ferguson

Merge request reports

Loading
Loading