mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-07 10:22:06 +01:00
cmd/k8s-operator fix populateTLSSecret on tests (#18088)
The call for populateTLSSecret was broken between PRs. Updates #cleanup Signed-off-by: Fernando Serboncini <fserb@tailscale.com>
This commit is contained in:
parent
7c5c02b77a
commit
f36eb81e61
@ -671,7 +671,7 @@ func TestIngressPGReconciler_HTTPRedirect(t *testing.T) {
|
||||
|
||||
// Verify initial reconciliation with HTTP redirect enabled
|
||||
expectReconciled(t, ingPGR, "default", "test-ingress")
|
||||
populateTLSSecret(context.Background(), fc, "test-pg", "my-svc.ts.net")
|
||||
populateTLSSecret(t, fc, "test-pg", "my-svc.ts.net")
|
||||
expectReconciled(t, ingPGR, "default", "test-ingress")
|
||||
|
||||
// Verify Tailscale Service includes both tcp:80 and tcp:443
|
||||
@ -795,7 +795,7 @@ func TestIngressPGReconciler_HTTPEndpointAndRedirectConflict(t *testing.T) {
|
||||
|
||||
// Verify initial reconciliation - HTTP endpoint should take precedence
|
||||
expectReconciled(t, ingPGR, "default", "test-ingress")
|
||||
populateTLSSecret(context.Background(), fc, "test-pg", "my-svc.ts.net")
|
||||
populateTLSSecret(t, fc, "test-pg", "my-svc.ts.net")
|
||||
expectReconciled(t, ingPGR, "default", "test-ingress")
|
||||
|
||||
// Verify Tailscale Service includes both tcp:80 and tcp:443
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user