diff --git a/images/agent/src/pkg/controller/block_device.go b/images/agent/src/pkg/controller/block_device.go index d86ebeb4..0bc85cfa 100644 --- a/images/agent/src/pkg/controller/block_device.go +++ b/images/agent/src/pkg/controller/block_device.go @@ -560,6 +560,8 @@ 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)