Action Server connect to DB in RasaX Kubernetes setup

I am attempting to deploy my assistant with RasaX to a Kubernetes cluster by following the Rasa Master Class episode 12. I believe the final system would look something like:

My question is: how do I get my Action Server, which is by itself a stand-alone container in Docker Hub (based on the instructions of the master class to build and push the action server to Docker Hub), to access the PostgreSQL db that is also used by the Tracker Store in the above diagram? I had it working in a docker-compose setup but I am new to Kubernetes and Helm and have been struggling with this for a while now and wondering if someone can provide a pointer.

Thanks!

If you deployed using the one line deploy script, set the environmental variable ACTION_SERVER_IMAGE and ACTION_SERVER_TAG before re running the script (see here)

If you installed using the helm charts, there’s also instructions for adding your custom action server here