mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-22 16:46:29 +00:00
cmd/k8s-operator: reset the svc account name in test
Signed-off-by: Lee Briggs <lee@leebriggs.co.uk>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user