Skip to content

Installing PrestaShop as SUT

Make sure you have installed metallb first.. Check kubernetes materia...

helm install my-release oci://registry-1.docker.io/bitnamicharts/prestashop

Instead of install message you have to forcer real IP addres for service (CSC IP)

export APP_HOST=86.51.223.160
Rest of commands can be executed without problems

export APP_PASSWORD=$(kubectl get secret --namespace default my-release-prestashop -o jsonpath="{.data.prestashop-password}" | base64 -d)
export DATABASE_ROOT_PASSWORD=$(kubectl get secret --namespace default my-release-mariadb -o jsonpath="{.data.mariadb-root-password}" | base64 -d)
export APP_DATABASE_PASSWORD=$(kubectl get secret --namespace default my-release-mariadb -o jsonpath="{.data.mariadb-password}" | base64 -d)

Next thing is add also prestashop service container with needed parameters

helm upgrade --namespace default new-presta-v3 oci://registry-1.docker.io/bitnamicharts/prestashop \
    --set prestashopHost=$APP_HOST,prestashopPassword=$APP_PASSWORD,mariadb.auth.rootPassword=$DATABASE_ROOT_PASSWORD,mariadb.auth.password=$APP_DATABASE_PASSWORD
You should now see message like:

** Please be patient while the chart is being deployed **1. Get the PrestaShop URL by running:

  echo "Store URL: http://86.51.223.160/"
  echo "Admin URL: http://86.51.223.160/administration"

2. Get your PrestaShop login credentials by running:

  echo Admin Email   : user@example.com
  echo Admin Username: user@example.com
  echo Admin Password: $(kubectl get secret --namespace default new-presta-v3-prestashop -o jsonpath="{.data.prestashop-password}" | base64 -d)

Presta Shop Base Image

https://github.com/PrestaShop/docker/blob/master/base/images/8.0-apache/Dockerfile

Presta Shop Releases

https://github.com/PrestaShop/PrestaShop/releases