Introduction
This chart bootstraps a WordPress 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 WordPress application.
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters. This chart has been tested to work with NGINX Ingress, cert-manager, fluentd and Prometheus on top of the BKPR.
Prerequisites
Disabling
.htaccess
For performance and security reasons, it is a good practice to configure Apache with
AllowOverride None
. Instead of using.htaccess
files, Apache will load the same dircetives at boot time. These directives are located in/opt/bitnami/wordpress/wordpress-htaccess.conf
. The container image includes by default these directives all of the default.htaccess
files in WordPress (together with the default plugins). To enable this feature, install the chart with the following value:helm install stable/wordpress --set allowOverrideNone=yes
However, some plugins may include
.htaccess
directives that will not be loaded whenAllowOverride
is set toNone
. A way to make them work would be to create your ownwordpress-htaccess.conf
file with all the required dircectives to make the plugin work. After creating it, then create a ConfigMap with it.kubectl create cm custom-htaccess --from-file=/path/to/wordpress-htaccess.conf
Then, install the chart:
helm install stable/wordpress --set allowOverrideNone=yes --set customHTAccessCM=custom-htaccess
Upgrading