Welcome to the MongoDB Community Forums @TobyGCRM!
There is an Atlas API you can use to Add Entries to a Project IP Access List. Entries can include IPs, CIDRs (IP ranges), or AWS security groups.
If you have a dedicated MongoDB Atlas cluster (M10+) and your Kubernetes services happen to run on AWS, GCP, or Azure you may also have the option to Set up a Network Peering Connection.
Regards,
Stennie