UNCLASSIFIED - NO CUI

Convert bb-common to a subchart

Summary

Convert Alloy from bb-common library includes to subchart rendering and native values schema validation. Nest the package's Istio and network-policy settings under bb-common, update the upgrade-job policy lookup and tests, and add global.domain.

Updated against current main, retaining k8s-monitoring 4.5.3, bb-common 1.6.1, Gluon 1.1.10, and current images. Bump the package to 4.5.3-bb.1, regenerate and format README, and update the migration documentation.

The paired umbrella branch is published at 74bbebefb. It supplies nested values, removes the legacy CIDR migration, corrects Prometheus egress, and preserves the current metrics/Cortex Tenant configuration.

Per #158 (closed), do not merge until the final 3.x release has shipped. Keep this MR in draft until CI passes.

Relevant logs/screenshots

  • Updated package: all 9 Helm unit tests passed; Helm lint and Markdown lint passed.
  • Paired umbrella: all 525 local tests across 88 suites passed. Suites requiring external package fetches were excluded from this local run.
  • Combined umbrella/package rendering passed for sidecar, ambient, and Istio-disabled configurations. bb-common rejected an invalid istio.injection override as expected.
  • Local k3d deploy of the current 4.5.3-bb.1 revision (package:default DISABLE_CORE=true against the paired umbrella branch): HelmRelease alloy reports Ready=True ("Helm install succeeded for release alloy/alloy.v1 with chart k8s-monitoring@4.5.3-bb.1"), collector pods run 3/3 with Istio sidecars, and the package helm test passed — all 9 suites Phase: Succeeded (including alloy-cypress-test and alloy-script-test), shown below.
  • The existing untracked metrics fixture is not included in this MR.

alloy-helm-test

Linked Issue

#158 (closed)

Umbrella Branch

alloy-bb-common-subchart

Upgrade Notices

This is a breaking package values change and requires the paired Big Bang umbrella update.

  • Move direct package istio, networkPolicies, and routes overrides under bb-common. For Big Bang deployments, move alloy.values.istio, alloy.values.networkPolicies, and alloy.values.routes under alloy.values.bb-common.
  • Use global.domain for the shared package domain, or alloy.values.global.domain through Big Bang.
  • Remove package istio.injection overrides. Configure bb-common.istio.enabled and bb-common.istio.ambient.enabled instead.
  • The paired umbrella update removes Alloy's kubeAPI egress synthesis from networkPolicies.controlPlaneCidr and networkPolicies.vpcCidr. Configure the umbrella's networkPolicies.egress.definitions.kubeAPI instead.
Edited by Rob Ferguson

Merge request reports

Loading
Loading