cmd/k8s-operator: reset the svc account name in test

Signed-off-by: Lee Briggs <[email protected]>
This commit is contained in:
Lee Briggs committed 2025-05-05 12:59:28 -07:00
1 parent bd99a3601b
commit 0da69ecf18
1 file changed
+3
+3
View File
@@ -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) {