From d8a07dbf35df91099e56ab8a376aa7cba667662e Mon Sep 17 00:00:00 2001 From: Coleen Iona Quadros Date: Thu, 22 Aug 2024 17:02:22 +0200 Subject: [PATCH] add to scheme Signed-off-by: Coleen Iona Quadros --- operators/multiclusterobservability/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/operators/multiclusterobservability/main.go b/operators/multiclusterobservability/main.go index 01baeffcd9..44104d61e8 100644 --- a/operators/multiclusterobservability/main.go +++ b/operators/multiclusterobservability/main.go @@ -8,6 +8,7 @@ import ( "crypto/tls" "flag" "fmt" + imagev1 "github.com/openshift/api/image/v1" "os" imagev1client "github.com/openshift/client-go/image/clientset/versioned/typed/image/v1" @@ -72,6 +73,7 @@ func init() { utilruntime.Must(observatoriumAPIs.AddToScheme(scheme)) utilruntime.Must(prometheusv1.AddToScheme(scheme)) utilruntime.Must(addonv1alpha1.AddToScheme(scheme)) + utilruntime.Must(imagev1.AddToScheme(scheme)) // +kubebuilder:scaffold:scheme }