From 191207e9016be2f78e5cbec2aea77aa623ec0c0d Mon Sep 17 00:00:00 2001 From: Jean-Marc Andre Date: Tue, 27 Apr 2021 21:43:24 +0200 Subject: [PATCH] Fixed printcolumn --- api/v1alpha1/backupsession_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1alpha1/backupsession_types.go b/api/v1alpha1/backupsession_types.go index a2a4a9f..866b94e 100644 --- a/api/v1alpha1/backupsession_types.go +++ b/api/v1alpha1/backupsession_types.go @@ -45,7 +45,7 @@ type BackupSessionStatus struct { // +kubebuilder:object:root=true // +kubebuilder:resource:shortName="bs" // +kubebuilder:subresource:status -// +kubebuilder:printcolumn:name="Ref",type=string,JSONPath=`.spec.ref.name` +// +kubebuilder:printcolumn:name="Ref",type=string,JSONPath=`.spec.ref` // +kubebuilder:printcolumn:name="State",type=string,JSONPath=`.status.state` // +kubebuilder:printcolumn:name="Started",type=string,format=date-time,JSONPath=`.status.startTime` // +kubebuilder:printcolumn:name="Keep",type=string,JSONPath=`.status.keep`