UNCLASSIFIED - NO CUI

Consume bb-common as a subchart

General MR

Summary

Converts grafana from consuming bb-common as a library chart to consuming it as a subchart, so the istio/networkPolicies/routes config is now validated natively by bb-common's values.schema.json.

  • chart/values.yaml: istio, networkPolicies, and routes moved under a top-level bb-common: key; domain moved to global.domain; route hosts now template .Values.global.domain.
  • Removed the library include templates (chart/templates/bigbang/{istio,network-policies,routes}.yaml) — bb-common's own subchart render wrappers now produce these resources.
  • Re-pointed the package-owned ssoServiceEntry.yaml at (index .Values "bb-common").istio.*.
  • Bumped Chart.yaml to 13.2.4-bb.1, added a CHANGELOG entry, and regenerated the README.

Requires a paired umbrella change (chart/templates/grafana/values.yaml: bbCommonSubchart true, global.domain, bb-common-nested defaults, removal of _bb-common-migrations.tpl and the legacy istio.hardened shim) — pinned below so CI tests against it.

Relevant logs/screenshots

Full HelmRelease merge (umbrella values secret → package chart) renders an identical resource set before and after the conversion; istio resource specs are byte-identical apart from the expected # Source: path change (templates/bigbang/… → charts/bb-common/templates/…). Schema validation is active — bb-common.istio.injection is rejected. Package and umbrella helm-unittest suites updated and passing.

Linked Issue

Closes #212 (closed)

Umbrella Branch

212-grafana-bb-common-subchart

Upgrade Notices

This conversion relocates and removes bb-common values. Operators overriding these under the grafana package must update them:

  • istio / networkPolicies / routes → relocated under bb-common:
  • domain → global.domain
  • istio.injection → removed (library-chart-era key; not in the bb-common schema)
  • networkPolicies.controlPlaneCidr / networkPolicies.vpcCidr → removed (bb-common's global networkPolicies.egress.definitions.kubeAPI replaces them)
  • legacy istio.grafana.hosts override → removed (set bb-common.routes.inbound.grafana.hosts instead)
  • legacy istio.hardened.customServiceEntries / istio.hardened.customAuthorizationPolicies overrides are no longer auto-migrated (the compatibility shim was dropped) — set bb-common.istio.serviceEntries.custom / bb-common.istio.authorizationPolicies.custom directly instead

Must not be merged until the final 3.x release has shipped.

Edited by Rob Ferguson

Merge request reports

Loading
Loading