UNCLASSIFIED - NO CUI

Finish legacy helper cleanup after the Big Bang 4.x migration

Summary

Finish the legacy helper cleanup for Big Bang 4.x. MR !8563 originally removed mergeLegacyIstioHardenedKeys and hardening-switch defaults; those runtime changes have since landed on master through other 4.0 work. Rebasing the MR should retain the current sidecar and ambient behavior and remove only the remaining obsolete code and fixtures.

Scope

  • Remove the unreferenced gitCreds, istioNamespaceSelector, getGatewaySelector, and bigbang.overlays.gitlab helpers.
  • Remove redundant hardened-key filtering from the bb-common values builder; migrated packages already exclude the retired flat Istio values.
  • Remove the unreachable package-alias migration notice that still claims legacy paths are supported until 4.x.
  • Replace obsolete hardening-switch fixtures with current sidecar and ambient defaults; retain regression tests that intentionally verify retired opt-outs have no effect.
  • Correct AGENTS.md guidance that still describes removed alias normalization and _bb-common-migrations.tpl, and document the full Helm suite's network/cache requirements.

Acceptance Criteria

  • Rebase !8563 on current master, preserving current package routing, sidecar policy defaults, and user override precedence.
  • Verify the removed helpers have no repository callers and rendered resources remain unchanged in ambient, sidecar, Istio-disabled, offline, source, and package-override scenarios.
  • Pass Helm lint, focused and full Helm unit tests, the package metadata generator check, and applicable Bats checks.
  • Leave 3.x-to-4.x migration tools, supported sidecar integrations, and compatibility settings with no announced removal boundary available.

Related prior cleanup: #3492 (closed). Implementation: !8563.