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.
domainmoves toglobal.domainso bb-common can read it as a Helm global.- The umbrella's external redis/postgres flags now render real booleans; the schema rejected the
nullthey produced when unset.
Relevant logs/screenshots
helm templatewith 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=enabledis rejected by bb-common's schema. helm lintclean; 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=Trueonanchore-enterprise@4.4.1-bb.1and all package Helm tests (cypress-config, cypress egress, upstream621-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-testhard-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 own4.4.1-bb.0chart. Lanes that hit the 429 were retried one at a time once the feed accepted requests again.
Linked 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.
domainis nowglobal.domain.istio.injectionis removed. Sidecar-only behavior is derived frombb-common.istio.enabledandbb-common.istio.ambient.enabled.istio.hardened.enabledis removed. Setbb-common.istio.sidecar.enableddirectly (it remains driven byistiod.values.hardened.enabledfrom the umbrella).istio.hardened.customServiceEntriesandistio.hardened.customAuthorizationPoliciesare no longer translated. Setbb-common.istio.serviceEntries.customandbb-common.istio.authorizationPolicies.customdirectly.