UNCLASSIFIED - NO CUI

Loki bb-common subchart integration

Package Merge Request

Package Changes

Update Loki's umbrella integration to consume bb-common as a subchart alongside the Loki 6.55.0-bb.10 package conversion.

  • Enable bbCommonSubchart and declare package-specific route and networking defaults explicitly under bb-common, matching the other package conversions.
  • Remove Loki's _bb-common-migrations.tpl and its invocation, including the deprecated API-CIDR fallback and legacy hardened-value translation.
  • Forward the shared domain to global.domain and preserve ServiceMonitor mTLS using the scoped package values without mutating them.
  • Update Loki's Git/OCI version pins, scoped scalable test values, regression tests, and generated values reference.

Loki 6.55.0-bb.10 is now published as both a Git tag and OCI chart. The development-only source override has been removed from tests/test-values.yaml; CI now exercises the released package.

Package MR

Depends on the corresponding package conversion in Loki MR !399. The package and umbrella changes must be coordinated; the Loki 6.55.0-bb.10 Git/OCI release is required for the default pins.

Do not merge before the final Big Bang 3.x release has gone out. Release-boundary clearance has not been established.

For Issue

Loki issue 328: Convert bb-common to sub-chart

Upgrade Notices

Breaking values change: move Loki-specific istio, networkPolicies, and routes overrides under packages.loki.values.bb-common:

 packageConfiguration:
   version: v1
 packages:
   loki:
     values:
-      istio:
-        enabled: true
-        sidecar:
-          enabled: true
-        authorizationPolicies:
-          enabled: true
-      networkPolicies:
-        enabled: true
-      routes:
-        inbound:
-          loki:
-            enabled: true
+      bb-common:
+        istio:
+          enabled: true
+          sidecar:
+            enabled: true
+          authorizationPolicies:
+            enabled: true
+        networkPolicies:
+          enabled: true
+        routes:
+          inbound:
+            loki:
+              enabled: true
  • Replace legacy Loki istio.hardened settings with explicit bb-common.istio.sidecar, serviceEntries, and authorizationPolicies configuration. The umbrella's packages.istiod.values.hardened.enabled still supplies the shared Sidecar default; authorization policies are controlled separately.
  • Configure Kubernetes API egress explicitly using shared networkPolicies.egress.definitions.kubeAPI.to and optional ports, or a scoped package override at packages.loki.values.bb-common.networkPolicies.egress.definitions.kubeAPI. The removed Loki migration no longer synthesizes this definition from networkPolicies.controlPlaneCidr or networkPolicies.vpcCidr. Enterprise token generation with NetworkPolicies enabled requires a nonempty API destination list.
  • Keep the umbrella's top-level domain; it is forwarded to Loki's global.domain. No storage schema, object-storage credentials, or PVC settings change.

See the package's migration guide for detailed configuration and rollback guidance. The original integration MRs (Loki !346, umbrella !7169, and umbrella !7323) were checked for 4.0 deprecations; no additional Loki-specific removals were identified beyond the compatibility behavior described above.

Edited by Daniel Dides

Merge request reports

Loading
Loading