diff options
| author | Lee Briggs <lee@leebriggs.co.uk> | 2025-05-05 12:59:28 -0700 |
|---|---|---|
| committer | Lee Briggs <lee@leebriggs.co.uk> | 2025-05-05 12:59:28 -0700 |
| commit | 0da69ecf18022b406ee9a4f21ba56569b67abea6 (patch) | |
| tree | 054e6cad1a7e6949846aa0b8072e5f4b6fb8f298 | |
| parent | bd99a3601b5fa43e8f7b3073b87a6e7e8a7e1345 (diff) | |
| download | tailscale-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.go | 3 |
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) { |
