diff --git a/pkg/utils/report/new.go b/pkg/utils/report/new.go index 8bee6dfb7a..3b47b7b9c6 100644 --- a/pkg/utils/report/new.go +++ b/pkg/utils/report/new.go @@ -20,7 +20,7 @@ func NewAdmissionReport(namespace, name string, gvr schema.GroupVersionResource, } else { report = &reportsv1.EphemeralReport{Spec: reportsv1.EphemeralReportSpec{}} } - report.SetName(name) + report.SetGenerateName(name + "-") report.SetNamespace(namespace) SetResourceUid(report, resource.GetUID()) SetResourceGVR(report, gvr)