Kubernetes/Helm Bad Gateway

Hello, I've been trying to figure out why I get a bad gateway error when changing the port from 80 to 5000 on the whoami Docker image. I'm deploying to my kubernetes cluster through helm. When I have my container port set to 80 it functions as it should, when I change the container port to 80 it gives me a bad gateway.

How can I resolve this issue?

Helm deployment on container port 80

https://pastebin.com/J68ZfQYc

Helm deployment on container port 5000

https://pastebin.com/ZHBRctwH

Solved.

Realized whoami needed this command argument: --port=5000