UNCLASSIFIED - NO CUI

Enable Istio ambient mode by default

General MR

Summary

Makes Istio ambient the default mesh mode for Big Bang 4.0 by setting istio.ambient.enabled: true in chart/values.yaml. Sidecar mode is still supported with istio.ambient.enabled: false (ADR 0013). Umbrella CI now treats tests/test-values.yaml as the ambient run, and a new tests/test-values-sidecar.yaml overlay replaces tests/test-values-ambient.yaml to keep sidecar mode covered.

  • Unit tests that never set the mesh mode relied on the old sidecar default. They now set istio.ambient.enabled: false so they keep covering the sidecar path. Tests that check default values now have a separate ambient-default case.
  • Depends on big-bang/pipeline-templates/pipeline-templates!1600 (merged), which adds tests/test-values-sidecar.yaml to the umbrella dynamic test patterns. Without it, the sidecar scenario doesn't run in CI.

Relevant logs/screenshots

  • Helm unit tests: 655 passed across 108 suites. Before the test updates, the flip failed 46 tests that assumed sidecar mode; master passes all 650.
  • BATS: 211 passed, including the updated values-overlay tests.
  • helm template with the umbrella test values: the default render includes ztunnel and istio-cni (41 HelmReleases); with the sidecar overlay it includes neither (35).
  • package-validation pipeline 5800883 ran the same flip with the pipeline-templates!1600 changes and generated sidecar clean install and oci clean install.
  • skip-job-upgrade: the upgrade job moves NeuVector from sidecar to ambient without the migration bridge and stalls on neuvector-cert-upgrader-job (pipeline 5801057), as described in the migration guide.

Linked Issue

Closes #3496 (closed)

Upgrade Notices

  • Istio ambient mode is now the default. Deployments that never set istio.ambient.enabled switch from Istio sidecars to ambient mode (ztunnel) on upgrade. ambient also turns on the istioCNI, ztunnel, and gatewayAPI packages. To stay on sidecar mode, set istio.ambient.enabled: false.
  • Upgrading a live sidecar environment to ambient follows Migrating a Big Bang Environment from Sidecar Mode to Ambient Mode. NeuVector needs that guide's temporary bridge (istio.mtls.mode: PERMISSIVE and an allow-all custom authorization policy in neuvector.values) while its pods roll from sidecar to ambient; without it the upgrade can stall on neuvector-cert-upgrader-job. Remove the bridge once every NeuVector pod is ambient.
  • With ambient mode on, Big Bang enables network policies and Istio authorization policies for all packages, even if networkPolicies.enabled or authorizationPolicies.enabled is false, because ambient relies on them for cross-namespace traffic.
  • Deployments that disable Istio (packages.istiod.enabled: false) must also set istio.ambient.enabled: false. Otherwise rendering fails with istioCNI requires istiod to be enabled.
Edited by Rob Ferguson

Merge request reports

Loading
Loading