Mounted ConfigMap not setting environment variables
If you want to set values from your configMap directly as env vars inside your pod, then you do not need to mount them as files. Instead use:
env: - name: MY_ENV_VAR valueFrom: configMapKeyRef: name: <your-configmap-name> key: <key-of-your-value>
If you want to stick with the mounting option, another way might be to use your docker-entrypoint.sh
script of your laravel container to somehow source the mounted env file when you start the container.