Deploy GitLab in K8s (gitlab/gitlab-ee image works in Docker container)

When targeting the gitlab/gitlab-ee image in Docker, the container will start up just fine. When I wrap it in a YAML to get Kubernetes to orchestrate the container deployment (in Docker), the Pod fails saying that the .rb file needs to be configured.

Why does it need to be configured in K8s w/Docker but not in a stand-alone Docker container?