cmd/k8s-operator: add matching family addresses to status

This was added in 3451b89e5f, but
resulted in the v6 Tailscale address being added to status when
when the forwarding only happened on the v4 address.

Updates #502

Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
Maisem Ali
2023-08-28 12:56:44 -07:00
committed by Maisem Ali
parent f92e6a1be8
commit 0c6fe94cf4
2 changed files with 13 additions and 10 deletions

View File

@ -108,9 +108,6 @@ func TestLoadBalancerClass(t *testing.T) {
{
IP: "100.99.98.97",
},
{
IP: "2c0a:8083:94d4:2012:3165:34a5:3616:5fdf",
},
},
},
},
@ -375,9 +372,6 @@ func TestAnnotationIntoLB(t *testing.T) {
{
IP: "100.99.98.97",
},
{
IP: "2c0a:8083:94d4:2012:3165:34a5:3616:5fdf",
},
},
},
},
@ -467,9 +461,6 @@ func TestLBIntoAnnotation(t *testing.T) {
{
IP: "100.99.98.97",
},
{
IP: "2c0a:8083:94d4:2012:3165:34a5:3616:5fdf",
},
},
},
},