Skip to content

DivanteLtd/pimcore-helm-chart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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