From 086808993b544ee2a71f0c7321cefd7c4f945838 Mon Sep 17 00:00:00 2001 From: Alexandr Stefurishin Date: Thu, 5 Dec 2024 19:29:42 +0300 Subject: [PATCH] disable smart truncate Signed-off-by: Alexandr Stefurishin --- images/agent/src/internal/controller/bd/discoverer.go | 1 + 1 file changed, 1 insertion(+) diff --git a/images/agent/src/internal/controller/bd/discoverer.go b/images/agent/src/internal/controller/bd/discoverer.go index affcba89..c24d2308 100644 --- a/images/agent/src/internal/controller/bd/discoverer.go +++ b/images/agent/src/internal/controller/bd/discoverer.go @@ -589,6 +589,7 @@ func configureBlockDeviceLabels(blockDevice v1alpha1.BlockDevice) map[string]str slug.Lowercase = false slug.MaxLength = 63 + slug.EnableSmartTruncate = false lbls[internal.MetadataNameLabelKey] = slug.Make(blockDevice.ObjectMeta.Name) lbls[internal.HostNameLabelKey] = slug.Make(blockDevice.Status.NodeName) lbls[internal.BlockDeviceTypeLabelKey] = slug.Make(blockDevice.Status.Type)