Many jobs require a background check. My sister has very poor credit but managed to pass a background check to work in a special office at Boeing.
She was a receptionist, and had access to classified information. I don’t know if a bankruptcy would have caused a refusal or not. But I would assume that they don’t want people in desperate need of money to have access to classified information on fighter planes. So, I can see where they would be concerned about bringing in somebody who is more likely to be tempted.
here is a good video about checking:
I would also think that bank tellers would be a job where they would consider that a bit more.