title: Map external folder to kubernetes pod using volume and env
body: <p>I will define volume in a docker-compose file like this, how can I define the same config directory in the Kubernetes YAML file</p>
  <pre><code>volumes:
  - /home/builduser/jenkins/workspace/deploy/config:/app/sources/config
  environment:
  - CONF_DIR=/app/sources/config
  </code></pre>