Skip to content

Install ​

Prerequisites ​

  • Kubernetes 1.19+
  • Helm 3.8+ (OCI registry support)
  • PV provisioner support in the underlying infrastructure (if persistence is enabled)

Install the chart ​

The chart is published to an OCI registry. Helm installs from it directly; there is no helm repo add step:

bash
helm install my-wordpress oci://ghcr.io/ioanalytica/charts/wordpress-nginx

Or install from local source. The common subchart is not checked in, so fetch it first:

bash
helm dependency build ./chart
helm install my-wordpress ./chart

Without further values the release runs WordPress with a MariaDB server of its own, behind a Service of type LoadBalancer and without an Ingress; passwords that are not set are generated and kept in the release's Secret. A first values file usually sets the administrator and the host name, and with an Ingress in front the Service no longer needs an address of its own:

yaml
wordpressUsername: admin
wordpressEmail: admin@example.com

ingress:
  enabled: true
  hostname: blog.example.com

service:
  type: ClusterIP
bash
helm install my-wordpress oci://ghcr.io/ioanalytica/charts/wordpress-nginx -f values.yaml

Pin a version ​

helm install without --version installs the newest chart version. For production, pin one of the released versions:

bash
helm install my-wordpress oci://ghcr.io/ioanalytica/charts/wordpress-nginx --version <version> -f values.yaml

The chart version names the WordPress release and the chart's build on it; Versioning explains the scheme, and the Changelog lists the versions.

Next steps ​

Distributed under the Apache-2.0 license. WordPress, NGINX, Bitnami and other names are trademarks of their owners; this project is not affiliated with or endorsed by them.