summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLee Briggs <lee@leebriggs.co.uk>2025-05-05 12:59:28 -0700
committerLee Briggs <lee@leebriggs.co.uk>2025-05-05 12:59:28 -0700
commit0da69ecf18022b406ee9a4f21ba56569b67abea6 (patch)
tree054e6cad1a7e6949846aa0b8072e5f4b6fb8f298
parentbd99a3601b5fa43e8f7b3073b87a6e7e8a7e1345 (diff)
downloadtailscale-proxyclass/sa.tar.xz
tailscale-proxyclass/sa.zip
cmd/k8s-operator: reset the svc account name in testproxyclass/sa
Signed-off-by: Lee Briggs <lee@leebriggs.co.uk>
-rw-r--r--cmd/k8s-operator/tsrecorder_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/k8s-operator/tsrecorder_test.go b/cmd/k8s-operator/tsrecorder_test.go
index 72b8ffd69..4928a4769 100644
--- a/cmd/k8s-operator/tsrecorder_test.go
+++ b/cmd/k8s-operator/tsrecorder_test.go
@@ -87,6 +87,9 @@ func TestRecorder(t *testing.T) {
expectMissing[corev1.ServiceAccount](t, fc, tsNamespace, updated.Name)
+ // reset the service account name
+ updated.Spec.StatefulSet.Pod.ServiceAccountName = ""
+
})
t.Run("invalid spec gives an error condition", func(t *testing.T) {