Skip to content

Latest commit

 

History

History
75 lines (52 loc) · 1.53 KB

README.md

File metadata and controls

75 lines (52 loc) · 1.53 KB

Pimcore Helm Chart

Helm chart example for pimcore

Table of Contents

Requirements

Docker

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>

Helm

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

Useful Commands

kubectl exec -i -t PHP_POD --namespace=pimcore -- /bin/sh

Troubleshooting

If helm-diff plugin is missing, run this command:

helm plugin install https://github.com/databus23/helm-diff