Unable to login initially with randomly generated password

Running Nexus 3.37.2 as a service in k8s cluster
on setting up the nexus, i’m unable to login with the random generated password
i copied the generated password from /nexus-data/admin.password
& it’s not accepting, saying wrong password.

FYI in logs there is no errors while creating the pod.