Added printcolumn tags for kubectl get backupsessions

This commit is contained in:
jandre 2021-01-04 00:51:24 +01:00
parent 1424178873
commit bdd75961e7

View File

@ -77,6 +77,10 @@ type BackupSessionStatus struct {
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="Ref",type=string,JSONPath=`.spec.ref.name`
// +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`
// BackupSession is the Schema for the backupsessions API
type BackupSession struct {