smart48 / larak8

DigitalOcean Kubernetes Deployment of Laravel App
2 stars 2 forks source link

Minikube Load code from location set in variable #11

Open jasperf opened 3 years ago

jasperf commented 3 years ago

If possible it would be nice to have the code locally load from a directory set in a variable, not the hard coded way set at https://github.com/smart48/smt-deploy/blob/main/local/deployment.yml#L26

hostPath:
   path: ~/code/project

I am thinking config here mainly now https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/