Kubernetes not mounting volume

Solution 1:

This is a Community Wiki answer, posted for better visibility, so feel free to edit it and add any additional details you consider important.

As the OP mentioned in the comments, the problem has already been solved using Init Containers to ensure that the file is loaded before the main container starts.

The initial problem was caused by the volume getting mounted after the main container has started.