UNCLASSIFIED - NO CUI

Convert bb-common from library chart to subchart

General MR

Summary

1.44.0-bb.2 — consume bb-common as a subchart instead of a library chart. Big Bang values that override Elasticsearch-Kibana's istio, networkPolicies, or routes now live under a top-level bb-common key, and domain moves to global.domain. This gives the package native values.schema.json validation of its istio/networkPolicies/routes config.

  • The istio/networkPolicies/routes config moved under a new bb-common key in chart/values.yaml; package-owned templates (peerAuthentications, istio ServiceMonitor, NetworkAttachmentDefinition, elasticsearch/kibana pod gating, Kibana config, tests) now read (index .Values "bb-common").
  • The three library-include files under chart/templates/bigbang/ (istio.yaml, routes.yaml, network-policies.yaml) are removed; the bb-common subchart renders those resources from the bb-common values.
  • Redundant keys that only restated bb-common defaults were pruned. Rendered output is unchanged for existing deployments (old library render vs new subchart render is semantically identical).

Pairs with the Big Bang umbrella change that feeds the package its bb-common values and drops the _bb-common-migrations.tpl shim.

Also folds in the sso-secret keystore fix (renders the SSO secret as a kept release resource instead of a pre-upgrade hook), resolving #326 (closed).

Relevant logs/screenshots

Local k3d clean install deploying this branch against the paired umbrella branch (329-elasticsearch-kibana-bb-common-subchart). The ek HelmRelease reconciled Ready=True on chart elasticsearch-kibana-1.44.0-bb.2; Elasticsearch, Kibana, and the metrics exporter pods all reached 2/2 Running.

Helm test (Cypress) passed:

TEST SUITE:     logging-ek-cypress-test
Phase:          Succeeded

  Running:  01-kibana-health.cy.js                        (1 of 1)
    ✓ Check Home Page (8197ms)
  1 passing (9s)
  ✔  All specs passed!                        00:09        1        1        -        -        -

Additional validation:

  • helm template renders clean with defaults and with istio + networkPolicies enabled; the inbound VirtualService host resolves from global.domain.
  • Schema validation is active end-to-end: an illegal bb-common.istio.injection is rejected by the bb-common schema.
  • Old (library) vs new (subchart) rendered manifests are semantically identical.

Linked Issues

Umbrella Branch

329-elasticsearch-kibana-bb-common-subchart

Upgrade Notices

  • Big Bang values that override Elasticsearch-Kibana's istio, networkPolicies, or routes must move under a new bb-common key.
  • domain is relocated to the top-level Helm global global.domain; route hosts now template .Values.global.domain.
  • istio.injection is removed — it is no longer part of the bb-common schema; sidecar-only resources derive from istio.enabled and istio.ambient.enabled.
  • networkPolicies.controlPlaneCidr and networkPolicies.vpcCidr are removed. Configure bb-common.networkPolicies.egress.definitions.kubeAPI directly for Kube API egress.
Edited by Rob Ferguson

Merge request reports

Loading
Loading