From 25e03a3ba8e101324ee7e6209a37d60a654febef Mon Sep 17 00:00:00 2001 From: Qi Wang Date: Fri, 12 Jan 2024 11:24:52 -0500 Subject: [PATCH] Add ImagePolicyList and ClusterImagePolicyList to scheme known types Signed-off-by: Qi Wang --- config/v1alpha1/register.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/v1alpha1/register.go b/config/v1alpha1/register.go index 7ec30d7aafc..36432ceb802 100644 --- a/config/v1alpha1/register.go +++ b/config/v1alpha1/register.go @@ -34,6 +34,10 @@ func addKnownTypes(scheme *runtime.Scheme) error { &InsightsDataGatherList{}, &Backup{}, &BackupList{}, + &ImagePolicy{}, + &ImagePolicyList{}, + &ClusterImagePolicy{}, + &ClusterImagePolicyList{}, ) metav1.AddToGroupVersion(scheme, GroupVersion) return nil