From 7d5909227b5d230841410c43bcb64ef012fd9301 Mon Sep 17 00:00:00 2001 From: Andrzej Zukowski Date: Tue, 27 Feb 2024 03:18:28 -0500 Subject: [PATCH] [ISSUE-1100] Remove SmartInfo from kubectl get drives output Signed-off-by: Andrzej Zukowski --- api/v1/drivecrd/drive_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1/drivecrd/drive_types.go b/api/v1/drivecrd/drive_types.go index 965351d67..2f7209e22 100644 --- a/api/v1/drivecrd/drive_types.go +++ b/api/v1/drivecrd/drive_types.go @@ -44,7 +44,7 @@ import ( // +kubebuilder:printcolumn:name="Security Status",type="string",JSONPath=".spec.SecurityStatus",description="SED drive security status" // +kubebuilder:printcolumn:name="Encryption Capable",type="string",JSONPath=".spec.EncryptionCapable",description="SED drive or not" // +kubebuilder:printcolumn:name="Encryption Protocol",type="string",JSONPath=".spec.EncryptionProtocol",description="SED encryption protocol" -// +kubebuilder:printcolumn:name="Smart Info",type="string",JSONPath=".spec.SmartInfo",description="Smart Info data" +// +kubebuilder:printcolumn:name="Smart Info",type="string",JSONPath=".spec.SmartInfo",description="Smart Info data",priority=1 type Drive struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"`