Mongo IAM auth with IRSA

Hi folks,

We have been trying to connect with Mongo Atlas using the IAM auth feature from a POD in EKS. For some reason, its not detecting the IAM role associated with the pod via IRSA. Instead its trying to use the role associated with the worker node. Any thoughts on what could be wrong?

We are using the mongo-go-driver.

Thanks in advance!