mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-30 05:22:44 -08:00
cmd/k8s-operator: reset the svc account name in test
Signed-off-by: Lee Briggs <[email protected]>
This commit is contained in:
1 file changed
+3
@@ -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