platform: preserve GX10 Traefik client source IP

This commit is contained in:
Andrew Stoltz
2026-06-18 16:25:46 -05:00
parent 9cef99739a
commit ac153248c2
3 changed files with 13 additions and 1 deletions

View File

@@ -249,6 +249,16 @@ public sealed class FleetManifestLintTests
violations.Should().BeEmpty();
}
[Fact]
public void Gx10TraefikLoadBalancer_MustPreserveClientSourceIp()
{
var path = Path.Combine(Inventory.BluejayRoot, "gx10", "platform", "traefik-helmchart.yaml");
var manifest = File.ReadAllText(path);
manifest.Should().Contain("metallb.io/loadBalancerIPs: \"10.0.57.202\"");
manifest.Should().Contain("spec:\n externalTrafficPolicy: Local");
}
[Fact]
public void ApiKeyProtectedDeployments_MustUseTcpSocketHealthProbes()
{