shopware
by robjuz
Web publishing platform for building blogs and websites.
About this chart
Shopware 6
Shopware 6 offers all online merchants maximum flexibility, the freedom to grow and focus on the perfect customer experience. Shopware 6 is the ecommerce solution for all conceivable channels of the present and future.
TL;DR
$ helm repo add robjuz https://robjuz.github.io/helm-charts/
$ helm install shopware robjuz/shopware
Introduction
This chart bootstraps a Shopware 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 Shopware application, the Bitnami Elasticsearch chart that is used to indexing, the Bitnami Minio chart that is used to store documents, media, theme, asset and sitemap files
This chart has been tested to work with NGINX Ingress, cert-manager and Prometheus on top of the k3s.
Prerequisites
- Kubernetes 1.19+
- Helm 3.1.0
- PV provisioner support in the underlying infrastructure
- ReadWriteMany volumes for deployment scaling (only when installing external plugins)
Installing the Chart
To install the chart with the release name shopware:
helm install shopware robjuz/shopware
The command deploys Shopware 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 shopware deployment:
helm delete shopware
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 | Override Kubernetes version | "" |
nameOverride | String to partially override common.names.fullname | "" |
fullnameOverride | String to fully override common.names.fullname | "" |
commonLabels | Labels to add to all deployed objects | {} |
commonAnnotations | Annotations to add to all deployed objects | {} |
clusterDomain | Kubernetes cluster domain name | cluster.local |
Shopware Image parameters
| Name | Description | Value |
|---|---|---|
image.registry | Shopware image registry | docker.io |
image.repository | Shopware image repository | shyim/shopware |
image.tag | Shopware image tag (immutable tags are recommended) | 6.4.6.0 |
image.pullPolicy | Shopware image pull policy | IfNotPresent |
image.pullSecrets | Shopware image pull secrets | [] |
image.debug | Enable image debug mode | false |
Shopware Configuration parameters
| Name | Description | Value |
|---|---|---|
shopwareUsername | Shopware admin username | admin |
shopwarePassword | Shopware admin password (Defaults to a random 10-character alphanumeric string if not set ) | "" |
shopwareLocale | Shopware default language | de-DE |
shopwareCurrency | Shopware default currency | EUR |
shopwareAppEnv | Shopware environment | prod |
shopwareInstanceId | Shopware instance ID (Defaults to a random 64-character alphanumeric string if not set ) | "" |
shopwareAppUrl | Shopware URL | "" |
shopwareAppSecret | Shopware Secret (Defaults to a random 64-character alphanumeric string if not set ) | "" |
mailerUrl | Mailer URL | null://localhost |
activePlugins | Comma separated list of plugins that should be activated | "" |
httpCache.enabled | Enable http cache | true |
httpCache.defaultTtl | Http cache default Time to live | 7200 |
cache.adapter | Adapter to use for caching | redis |
cache.database | Database to use for caching | 0 |
session.adapter | Adapter to use for session | redis |
session.database | Database to use for session | 1 |
Shopware deployment parameters
| Name | Description | Value |
|---|---|---|
replicaCount | Number of Shopware replicas to deploy | 1 |
updateStrategy.type | Shopware deployment strategy type | RollingUpdate |
updateStrategy.rollingUpdate | Shopware deployment rolling update configuration parameters | {} |
schedulerName | Alternate scheduler | "" |
serviceAccountName | ServiceAccount name | default |
hostAliases | Shopware pod host aliases | [] |
extraVolumes | Optionally specify extra list of additional volumes for Shopware pods | [] |
extraVolumeMounts | Optionally specify extra list of additional volumeMounts for Shopware container(s) | [] |
extraContainerPorts | Optionally specify extra list of additional ports for Shopware container(s) | [] |
sidecars | Add additional sidecar containers to the Shopware pod | [] |
initContainers | Add additional init containers to the Shopware pods | [] |
podLabels | Extra labels for Shopware pods | {} |
podAnnotations | Annotations for Shopware pods | {} |
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. Allowed values: soft or hard | "" |
nodeAffinityPreset.key | Node label key to match. Ignored if affinity is set | "" |
nodeAffinityPreset.values | Node label values to match. Ignored if affinity is set | [] |
affinity | Affinity for pod assignment | {} |
nodeSelector | Node labels for pod assignment | {} |
tolerations | Tolerations for pod assignment | [] |
resources.limits | The resources limits for the Shopware container | {} |
resources.requests | The requested resources for the Shopware container | {} |
containerPorts.http | Shopware HTTP container port | 8080 |
containerPorts.https | Shopware HTTPS container port | 8443 |
podSecurityContext.enabled | Enabled Shopware pods' Security Context | true |
podSecurityContext.fsGroup | Set Shopware pod's Security Context fsGroup | 1001 |
containerSecurityContext.enabled | Enabled Shopware containers' Security Context | true |
containerSecurityContext.runAsUser | Set Shopware container's Security Context runAsUser | 1001 |
containerSecurityContext.runAsNonRoot | Set Shopware container's Security Context runAsNonRoot | true |
livenessProbe.enabled | Enable livenessProbe | true |
livenessProbe.initialDelaySeconds | Initial delay seconds for livenessProbe | 120 |
livenessProbe.periodSeconds | Period seconds for livenessProbe | 10 |
livenessProbe.timeoutSeconds | Timeout seconds for livenessProbe | 5 |
livenessProbe.failureThreshold | Failure threshold for livenessProbe | 6 |
livenessProbe.successThreshold | Success threshold for livenessProbe | 1 |
readinessProbe.enabled | Enable readinessProbe | true |
readinessProbe.initialDelaySeconds | Initial delay seconds for readinessProbe | 30 |
readinessProbe.periodSeconds | Period seconds for readinessProbe | 10 |
readinessProbe.timeoutSeconds | Timeout seconds for readinessProbe | 5 |
readinessProbe.failureThreshold | Failure threshold for readinessProbe | 6 |
readinessProbe.successThreshold | Success threshold for readinessProbe | 1 |
customLivenessProbe | Custom livenessProbe that overrides the default one | {} |
customReadinessProbe | Custom readinessProbe that overrides the default one | {} |
Shopware Task Runner deployment parameters
| Name | Description
Deploy shopware with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has shopware 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 chartshopware is pinned at v2.0.0 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