diff --git a/test/util/k8sreporter/reporter.go b/test/util/k8sreporter/reporter.go index 88fa8080c..caf7b2414 100644 --- a/test/util/k8sreporter/reporter.go +++ b/test/util/k8sreporter/reporter.go @@ -20,6 +20,11 @@ func New(reportPath string) (*kniK8sReporter.KubernetesReporter, error) { if err != nil { return err } + + err = monitoringv1.AddToScheme(s) + if err != nil { + return err + } return nil }