Helm chart example for pimcore
Table of Contents
Build the docker image
docker build . -t <username>/<repository_php_base> -f ./docker/php-base/Dockerfile
docker build . -t <username>/<repository_php> -f ./docker/php/Dockerfile --build-arg BASE_PHP_IMAGE=<username>/<repository_php_base>
docker build . -t <username>/<repository_nginx> -f ./docker/nginx/Dockerfile --build-arg ASSET_IMAGE=<username>/<repository_php>
Push the docker image
docker push <username>/<repository_php_base>
docker push <username>/<repository_php>
docker push <username>/<repository_nginx>
Start minikube
minikube start --vm=true --driver=hyperkit
minikube addons enable ingress
Note your minikube IP and set to your hosts
minikube ip
sudo vim /etc/hosts
# YOUR_MINIKUBE_IP bosch-myixo.com
Apply all charts
helmsman -apply -f helm/helm.yaml -debug -verbose
kubectl exec -i -t PHP_POD --namespace=pimcore -- /bin/sh
If helm-diff
plugin is missing, run this command:
helm plugin install https://github.com/databus23/helm-diff