mark remaining md5 usage TODO and exclude from lint

Kubernetes-commit: 797d3165191847b60dda3d8e6822e2854462a118
This commit is contained in:
Benjamin Elder 2025-08-13 16:57:37 -07:00 committed by Kubernetes Publisher
parent 7d3bbdf96e
commit 495c59a507

View file

@ -47,6 +47,9 @@ func HashObject(obj runtime.Object, codec runtime.Codec) (string, error) {
if err != nil {
return "", err
}
// TODO: finish removing existing md5 usage
// https://github.com/kubernetes/kubernetes/issues/129652
//nolint:forbidigo
return fmt.Sprintf("%x", md5.Sum(data)), nil
}