mirror of
https://github.com/tailscale/tailscale.git
synced 2025-05-09 17:16:50 +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:
parent
bd99a3601b
commit
0da69ecf18
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user