Commit Graph
2 Commits
Author SHA1 Message Date
BeckyPauley b3766d4fea cmd/k8s-operator/e2e: add 4via6 egress tests (#21854)
Add end-to-end tests for egress to a 4via6 target (an address behind a
subnet router advertising a 4via6 route). Tests include:

- TestConnector4via6Egress/HAEgress: egress to an in-cluster Connector
subnet router. Test requires a dual stack cluster.

- TestHostSubnetRouter4via6Egress/HAEgress: egress to a subnet router that
runs on the test host as a tsnet node. Use RegisterFallbackTCPHandler to
mock the backend response without requiring forwarding on to a backend node
(for test simplicity).

Also update end-to-end test acl for 4via6 routes, and install a dedicated
ProxyClass to accept routes.

Updates tailscale/corp#45732

Signed-off-by: Becky Pauley <[email protected]>
2026-10-27 16:41:10 +00:00
Tom Proctor 1ec3d20d10 cmd/k8s-operator: simplify scope of e2e tests (#17076)
Removes ACL edits from e2e tests in favour of trying to simplify the
tests and separate the actual test logic from the environment setup
logic as much as possible. Also aims to fit in with the requirements
that will generally be filled anyway for most devs working on the
operator; in particular using tags that fit in with our documentation.

Updates tailscale/corp#32085

Change-Id: I7659246e39ec0b7bcc4ec0a00c6310f25fe6fac2

Signed-off-by: Tom Proctor <[email protected]>
2025-09-10 13:02:59 +01:00