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, network policy, and route configuration now live under a single bb-common key in chart/values.yaml and are validated by bb-common's own schema, so an unsupported istio or network policy key now fails at render time instead of being silently ignored. The include templates under chart/templates/bigbang/ are gone; bb-common renders its own resources from the nested values. The paired umbrella branch wires the values-secret into subchart mode and drops the legacy istio shim.

  • domain moves to global.domain so bb-common can read it as a Helm global.
  • The umbrella's external redis/postgres flags now render real booleans; the schema rejected the null they produced when unset.

Relevant logs/screenshots

  • helm template with istio, network policies, authorization policies, SSO, OpenShift, and monitoring enabled renders byte-identical resources before and after the conversion (only random secret checksums differ).
  • Schema validation is active: --set bb-common.istio.injection=enabled is rejected by bb-common's schema.
  • helm lint clean; umbrella helm-unittest suite for anchore-enterprise passes.
  • Local k3d clean install with the paired umbrella branch (istio sidecar mode, network policies on): HelmRelease Ready=True, all workload pods 2/2, bb-common rendered the expected VirtualServices, ServiceEntries, PeerAuthentication, and NetworkPolicies.
  • Package CI: all six lanes passed against the paired umbrella branch, each with the HelmRelease Ready=True on anchore-enterprise@4.4.1-bb.1 and all package Helm tests (cypress-config, cypress egress, upstream 621-smoke-test) passing: default clean install, default upgrade, ambient clean install, ambient upgrade, sso clean install, sso upgrade.
  • Note for reviewers: the upstream 621-smoke-test hard-waits on the vulnerability feed, and Anchore's hosted feed service intermittently rate limits the datasyncer (HTTP 429), which also fails CI on main's own 4.4.1-bb.0 chart. Lanes that hit the 429 were retried one at a time once the feed accepted requests again.

Linked Issue

issue

Umbrella Branch

305-anchore-enterprise-bb-common-subchart

Upgrade Notices

Big Bang values that override Anchore Enterprise's istio, networkPolicies, or routes must move under a bb-common key (for example addons.anchoreEnterprise.values.bb-common.networkPolicies.additionalPolicies). Overrides left at the old flat paths are no longer consumed and, for istio, fail bb-common schema validation.

  • domain is now global.domain.
  • istio.injection is removed. Sidecar-only behavior is derived from bb-common.istio.enabled and bb-common.istio.ambient.enabled.
  • istio.hardened.enabled is removed. Set bb-common.istio.sidecar.enabled directly (it remains driven by istiod.values.hardened.enabled from the umbrella).
  • istio.hardened.customServiceEntries and istio.hardened.customAuthorizationPolicies are no longer translated. Set bb-common.istio.serviceEntries.custom and bb-common.istio.authorizationPolicies.custom directly.
Edited by Rob Ferguson

Merge request reports

Loading
Loading