Enable External Access for a Replica Set

Hi,

I have a replica set configured and running in a container environment. I want to access the replica set outside containers. I have NodePort setup already.

According to - Deploy a Replica Set — MongoDB Kubernetes Operator 1.13

It is asking me to modify replica set resource YAML file. But i am not able to find the same in my container.
The mongo in my containers are installed through Docker (Docker images from Docker repo).

Where can I find this YAML file, if not how can i create one for my replica set and change it accordingly.

Any help will be highly appreciated.