From 4a183f21da91c880bfa37491f0cb2d5b413de7f6 Mon Sep 17 00:00:00 2001
From: Maarten de Waard <maarten@greenhost.nl>
Date: Thu, 24 Mar 2022 15:51:25 +0100
Subject: [PATCH] allow uploading SVG files, do not install class-sic-editor by
 default

---
 Chart.yaml                | 2 +-
 values-local.yaml.example | 2 ++
 values.yaml               | 5 ++---
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/Chart.yaml b/Chart.yaml
index 08b77f0..8d34679 100644
--- a/Chart.yaml
+++ b/Chart.yaml
@@ -5,7 +5,7 @@ description: WordPress with a replicated MariaDB backend
 name: wordpress
 # Please only change the chart version as part of the release procedure: see
 # RELEASING.md
-version: 0.6.11
+version: 0.6.12
 icon: https://make.wordpress.org/design/files/2016/09/WordPress-logotype-wmark.png
 dependencies:
   - name: mariadb
diff --git a/values-local.yaml.example b/values-local.yaml.example
index 3466c9b..9fcf474 100644
--- a/values-local.yaml.example
+++ b/values-local.yaml.example
@@ -37,6 +37,8 @@ wordpress:
     #   # IF debug.wp_debug, log to display (i.e. inside the site)
     #   wp_debug_display: false
 
+  # Edit this list to add plugins that will be installed before the WordPress
+  # container starts.
   plugins:
     # Download plugin by slug from WordPress
     - classic-editor
diff --git a/values.yaml b/values.yaml
index 6b3d876..be4436e 100644
--- a/values.yaml
+++ b/values.yaml
@@ -115,8 +115,7 @@ wordpress:
   # override this value, you need to copy whatever default values you want to
   # keep. This value is *overridden*, not *merged*.
   # Values can either be a slug for a WordPress plugin, or an URL to a zip file.
-  plugins:
-    - classic-editor
+  plugins: []
   # By default we disable updating WordPress from the inside, because these
   # updates will not persist over pod deletions. Updates should be managed by
   # Helm.
@@ -145,7 +144,7 @@ wordpress:
     htaccess: |
       ## Disable access to all file types except the following
       Require all denied
-      <Files ~ ".(xml|css|js|jpe?g|png|gif)$">
+      <Files ~ ".(svg|xml|css|js|jpe?g|png|gif)$">
         Require all granted
       </Files>
 
-- 
GitLab