From 1bedd399d6b57a345958b59fd9b5ac2a1c915688 Mon Sep 17 00:00:00 2001 From: Ryan McKinley Date: Thu, 19 Jun 2025 17:33:38 +0300 Subject: [PATCH] with configs --- pkg/apis/datasource/v0alpha1/register.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkg/apis/datasource/v0alpha1/register.go b/pkg/apis/datasource/v0alpha1/register.go index 6a7c2bdc660..103f14de07f 100644 --- a/pkg/apis/datasource/v0alpha1/register.go +++ b/pkg/apis/datasource/v0alpha1/register.go @@ -22,8 +22,7 @@ var GenericDataSourceResourceInfo = utils.NewResourceInfo(GROUP, VERSION, utils.TableColumns{ Definition: []metav1.TableColumnDefinition{ {Name: "Name", Type: "string", Format: "name"}, - {Name: "Title", Type: "string", Format: "string", Description: "The datasource title"}, - {Name: "APIVersion", Type: "string", Format: "string", Description: "API Version"}, + {Name: "Title", Type: "string", Format: "string", Description: "Title"}, {Name: "Created At", Type: "date"}, }, Reader: func(obj any) ([]interface{}, error) { @@ -33,8 +32,7 @@ var GenericDataSourceResourceInfo = utils.NewResourceInfo(GROUP, VERSION, } return []interface{}{ m.Name, - "???", - m.APIVersion, + m.Spec.Title, m.CreationTimestamp.UTC().Format(time.RFC3339), }, nil },