diff --git a/exp/addons/internal/controllers/clusterresourceset_helpers.go b/exp/addons/internal/controllers/clusterresourceset_helpers.go index 065c0baf4264..d077816d06a5 100644 --- a/exp/addons/internal/controllers/clusterresourceset_helpers.go +++ b/exp/addons/internal/controllers/clusterresourceset_helpers.go @@ -150,7 +150,7 @@ func ensureOwnerRefs(clusterResourceSetBinding *addonsv1.ClusterResourceSetBindi }) ownerRefs = util.EnsureOwnerRef(ownerRefs, metav1.OwnerReference{ - APIVersion: clusterResourceSet.GroupVersionKind().String(), + APIVersion: clusterResourceSet.GroupVersionKind().GroupVersion().String(), Kind: clusterResourceSet.GroupVersionKind().Kind, Name: clusterResourceSet.Name, UID: clusterResourceSet.UID,