From ddfd408c3c10f5df1bf18638d8c04348627407bd Mon Sep 17 00:00:00 2001 From: Trent Clarke Date: Sat, 2 Nov 2024 03:02:00 +1100 Subject: [PATCH] [v17] fix: Provide `membershipKind` fields for owners/members in tests (#48193) Backports #48191 Co-authored-by: Maxim Dietz --- .../resources/testlib/accesslist_controller_tests.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/operator/controllers/resources/testlib/accesslist_controller_tests.go b/integrations/operator/controllers/resources/testlib/accesslist_controller_tests.go index d7a15f142f804..caba7e10a26b3 100644 --- a/integrations/operator/controllers/resources/testlib/accesslist_controller_tests.go +++ b/integrations/operator/controllers/resources/testlib/accesslist_controller_tests.go @@ -44,7 +44,7 @@ func newAccessListSpec(nextAudit time.Time) accesslist.Spec { return accesslist.Spec{ Title: "crane operation", Description: "Access list that Gru uses to allow the minions to operate the crane.", - Owners: []accesslist.Owner{{Name: "Gru", Description: "The super villain."}}, + Owners: []accesslist.Owner{{Name: "Gru", Description: "The super villain.", MembershipKind: accesslist.MembershipKindUser}}, Audit: accesslist.Audit{ Recurrence: accesslist.Recurrence{ Frequency: accesslist.SixMonths,