How to read documents when MongoDB POD starts

Installed bitnami mongodb using helm. POD is up and running.
I want to load documents along with POD starts.

I created file with data in json format under resources folder and mentioned in values.yaml in initdbScripts section.
But after starting the pod, DB and data are not created.
Any configuration I missed or wrongly added?
Any help would be appriciated.