UNCLASSIFIED - NO CUI

Enable egress gateway for bb-common 1.6.0 packages

General MR

Summary

  • Enables the shared egress waypoint for every bb-common 1.6.x subchart package by passing routes.defaults.outbound.egressGateway from the umbrella. Enabling the egress gateway remains opt-in via istio.egressGateway.enabled, in ambient only.

  • Refactors existing outbound routes to account for the inability for multiple ServiceEntries to register the same host on a shared egress gateway. Shared hosts are declared once in the istio-egress-gateway values and the package outbound route is disabled while the egress gateway is enabled.

  • There were a number of ServiceEntries declared as outbound routes that represented package's VirtualServices which are accounted for via bb-common's <package>-internal ServiceEntry creation, so those were removed as outbound routes.

Relevant logs/screenshots

  • Pipeline #5878134 green on all clean-install scenarios, including egress-gateway.

Linked Issue

Closes #3452

Upgrade Notices

No action unless istio.egressGateway.enabled: true in ambient mode. Then:

  • Package outbound routes bind to the waypoint by default; set egressGateway: false on a route to send it direct.
  • Shared hosts (repo1, registry1, Docker Hub, external SSO, gitlab external redis, thanos object store) are owned by the istio-egress-gateway release. Remove any custom route or ServiceEntry for those hosts from package values; a duplicate is silently ignored.
  • Wildcard hosts cannot use the waypoint and reach their hosts directly.
Edited by Rob Ferguson

Merge request reports

Loading
Loading