diff --git a/flytepropeller/pkg/controller/nodes/task/k8s/plugin_collector.go b/flytepropeller/pkg/controller/nodes/task/k8s/plugin_collector.go index caf7c81721..f0681a6bca 100644 --- a/flytepropeller/pkg/controller/nodes/task/k8s/plugin_collector.go +++ b/flytepropeller/pkg/controller/nodes/task/k8s/plugin_collector.go @@ -52,7 +52,7 @@ func (r *ResourceLevelMonitor) collect(ctx context.Context) { list := metav1.PartialObjectMetadataList{ TypeMeta: metav1.TypeMeta{ Kind: r.gvk.Kind, - APIVersion: r.gvk.Version, + APIVersion: r.gvk.GroupVersion().String(), }, } if err := r.cache.List(ctx, &list); err != nil {