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 lives under the bb-common key and is validated by bb-common's own values.schema.json; the thin chart/templates/bigbang/{istio,network-policies,routes}.yaml include templates are removed and domain moves to global.domain. Rendered resources are unchanged (verified by diffing helm template output before and after).
Also folds in the Renovate updates from !241 (closed) (bb-common 1.6.1, gluon 1.1.10, kubectl v1.37) and makes the Cypress test work on Cypress 16. The bbtests.cypress.image override and the Cypress package.json/package-lock.json are removed, so the test runner uses gluon's default Cypress image:
- Environment variables are read once in
before()withcy.env(), since Cypress 16 removedCypress.env(). - Keycloak login and terms-acceptance selectors match by id/name regardless of element type (
#kc-login,#kc-accept, button[name="accept"], input[name="accept"]), matching the authservice test.
tests/test-sso-values.yaml and the package docs are updated for the new values layout. The paired umbrella change (subchart wiring, removal of _bb-common-migrations.tpl and the mergeLegacyIstioHardenedKeys call, updated unit tests) is on the umbrella branch below.
Supersedes !241 (closed).
Relevant logs/screenshots
helm templatewith istio, network policies, and authorization policies enabled renders the same VirtualService, ServiceEntries, NetworkPolicies, PeerAuthentication, Sidecar, and AuthorizationPolicies as before the conversion.- Schema validation is active:
--set bb-common.istio.injection=enabledis rejected withadditional properties 'injection' not allowed. - Umbrella unit tests (
unittests/packages/fortify) pass on the paired umbrella branch (8/8). - Local k3d clean install with the paired umbrella branch; Cypress helm test passed on gluon's default image (
cypress:16.1.1), 1/1 spec passing (Fortify health > allows a user to sign in).
Linked Issue
Umbrella Branch
285-fortify-bb-common-subchart
Upgrade Notices
Big Bang values that override Fortify's istio, networkPolicies, or routes must move under a bb-common key (for example packages.fortify.values.bb-common.networkPolicies.egress.definitions.external-mysql.to). Overrides left at the old top-level paths are ignored.
domainmoved toglobal.domain.istio.injectionremoved; sidecar behaviour is derived frombb-common.istio.enabledandbb-common.istio.ambient.enabled.- The legacy
istio.fortify.{enabled,gateways,hosts}overrides (translated by the removed umbrella_bb-common-migrations.tpl) are no longer honoured; setbb-common.routes.inbound.fortify.*instead. istio.hardened.customServiceEntries/istio.hardened.customAuthorizationPoliciesare no longer translated; setbb-common.istio.serviceEntries.custom/bb-common.istio.authorizationPolicies.customdirectly.- Package-owned Cypress tests now require Cypress 16 (
cy.env()).
