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 },