nodes_test.go's TestTransform builds a corev1.NodeSystemInfo fixture that sets KubeProxyVersion, which is deprecated in k8s.io/api/core/v1 (kubelet no longer reliably reports it). Currently suppressed with //nolint:staticcheck.
The transform code in nodes.go never reads KubeProxyVersion (only KubeletVersion, ContainerRuntimeVersion, OSImage, OperatingSystem are used), so it's not exercised by the test - it's just part of a realistic-looking fixture. Decide whether to drop the field from the fixture (since real clusters increasingly won't populate it) or keep it for realism and leave the lint suppressed.
nodes_test.go'sTestTransformbuilds acorev1.NodeSystemInfofixture that setsKubeProxyVersion, which is deprecated ink8s.io/api/core/v1(kubelet no longer reliably reports it). Currently suppressed with//nolint:staticcheck.The transform code in
nodes.gonever readsKubeProxyVersion(onlyKubeletVersion,ContainerRuntimeVersion,OSImage,OperatingSystemare used), so it's not exercised by the test - it's just part of a realistic-looking fixture. Decide whether to drop the field from the fixture (since real clusters increasingly won't populate it) or keep it for realism and leave the lint suppressed.