prestashop
PrestaShop is a powerful open source eCommerce platform used by over 250,000 online storefronts worldwide. It is easily customizable, responsive, and includes powerful tools to drive online sales.
About this chart
PrestaShop packaged by Bitnami
PrestaShop is a powerful open source eCommerce platform used by over 250,000 online storefronts worldwide. It is easily customizable, responsive, and includes powerful tools to drive online sales.
Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.
Azure-ready Charts with Containers from marketplace.azurecr.io
This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.
$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
TL;DR
$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/prestashop
Introduction
This chart bootstraps a PrestaShop deployment on a Kubernetes cluster using the Helm package manager.
It also packages the Bitnami MariaDB chart which is required for bootstrapping a MariaDB deployment for the database requirements of the PrestaShop application.
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.
Prerequisites
- Kubernetes 1.19+
- Helm 3.2.0+
- PV provisioner support in the underlying infrastructure
- ReadWriteMany volumes for deployment scaling
Installing the Chart
To install the chart with the release name my-release:
$ helm install my-release my-repo/prestashop
The command deploys PrestaShop on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Force target Kubernetes version (using Helm capabilities if not set) | "" |
nameOverride | String to partially override prestashop.fullname template (will maintain the release name) | "" |
fullnameOverride | String to fully override prestashop.fullname template | "" |
namespaceOverride | String to fully override common.names.namespace | "" |
commonAnnotations | Common annotations to add to all PrestaShop resources (sub-charts are not considered). Evaluated as a template | {} |
commonLabels | Common labels to add to all PrestaShop resources (sub-charts are not considered). Evaluated as a template | {} |
extraDeploy | Array with extra yaml to deploy with the chart. Evaluated as a template | [] |
PrestaShop parameters
| Name | Description | Value |
|---|---|---|
image.registry | PrestaShop image registry | docker.io |
image.repository | PrestaShop image repository | bitnami/prestashop |
image.tag | PrestaShop image tag (immutable tags are recommended) | 1.7.8-7-debian-11-r25 |
image.digest | PrestaShop image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
image.pullPolicy | PrestaShop image pull policy | IfNotPresent |
image.pullSecrets | Specify docker-registry secret names as an array | [] |
image.debug | Specify if debug logs should be enabled | false |
hostAliases | Deployment pod host aliases | [] |
replicaCount | Number of PrestaShop Pods to run (requires ReadWriteMany PVC support) | 1 |
prestashopSkipInstall | Skip PrestaShop installation wizard. Useful for migrations and restoring from SQL dump | false |
prestashopHost | PrestaShop host to create application URLs (when ingress, it will be ignored) | "" |
prestashopUsername | User of the application | [email protected] |
prestashopPassword | Application password | "" |
prestashopEmail | Admin email | [email protected] |
prestashopFirstName | First Name | Bitnami |
prestashopLastName | Last Name | User |
prestashopCookieCheckIP | Whether to check the cookie's IP address or not | no |
prestashopCountry | Default country of the store | us |
prestashopLanguage | Default language of the store (ISO code) | en |
allowEmptyPassword | Allow DB blank passwords | true |
command | Override default container command (useful when using custom images) | [] |
args | Override default container args (useful when using custom images) | [] |
updateStrategy.type | Update strategy - only really applicable for deployments with RWO PVs attached | RollingUpdate |
extraEnvVars | An array to add extra environment variables | [] |
extraEnvVarsCM | ConfigMap with extra environment variables | "" |
extraEnvVarsSecret | Secret with extra environment variables | "" |
extraVolumes | Extra volumes to add to the deployment. Requires setting extraVolumeMounts | [] |
extraVolumeMounts | Extra volume mounts to add to the container. Normally used with extraVolumes | [] |
initContainers | Extra init containers to add to the deployment | [] |
sidecars | Extra sidecar containers to add to the deployment | [] |
tolerations | Tolerations for pod assignment. Evaluated as a template. | [] |
priorityClassName | PrestaShop pods' priorityClassName | "" |
schedulerName | Name of the k8s scheduler (other than default) | "" |
topologySpreadConstraints | Topology Spread Constraints for pod assignment | [] |
existingSecret | Use existing secret for the application password | "" |
smtpHost | SMTP host | "" |
smtpPort | SMTP port | "" |
smtpUser | SMTP user | "" |
smtpPassword | SMTP password | "" |
smtpProtocol | SMTP Protocol (options: ssl,tls, nil) | "" |
containerPorts.http | Sets HTTP port inside NGINX container | 8080 |
containerPorts.https | Sets HTTPS port inside NGINX container | 8443 |
sessionAffinity | Control where client requests go, to the same pod or round-robin | None |
persistence.enabled | Enable persistence using PVC | true |
persistence.storageClass | PrestaShop Data Persistent Volume Storage Class | "" |
persistence.accessModes | PVC Access Mode for PrestaShop volume | ["ReadWriteOnce"] |
persistence.size | PVC Storage Request for PrestaShop volume | 8Gi |
persistence.existingClaim | An Existing PVC name | "" |
persistence.hostPath | If defined, the prestashop-data volume will mount to the specified hostPath | "" |
persistence.annotations | Persistent Volume Claim annotations | {} |
podAffinityPreset | Pod affinity preset. Ignored if affinity is set. Allowed values: soft or hard | "" |
podAntiAffinityPreset | Pod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hard | soft |
nodeAffinityPreset.type | Node affinity preset type. Ignored if affinity is set. Allow |
Deploy prestashop with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has prestashop on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartprestashop is pinned at v15.3.5 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply