From 769ee3d04019bb12d92b6cded2ecdb432758cc01 Mon Sep 17 00:00:00 2001
From: Arie Peterson <arie@greenhost.nl>
Date: Wed, 21 Aug 2024 16:12:13 +0200
Subject: [PATCH] Update CHANGELOG and increase version to 0.15.27

---
 CHANGELOG.md                        | 7 +++++++
 Chart.yaml                          | 2 +-
 templates/setup-apps-configmap.yaml | 1 +
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index a2c4bbe4..abe0ca58 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,12 @@
 # Changelog
 
+## 0.15.27 - 2024-08-21
+
+* Allow setting instance name via helm value.
+* Fix some security and setup warnings.
+* Fix workaround for cron configuration for existing clusters.
+* No longer set cron type directly; this is done by the cron sidecar container.
+
 ## 0.15.26 - 2024-08-19
 
 * Work around Nextcloud configuration bug https://github.com/nextcloud/server/issues/45083.
diff --git a/Chart.yaml b/Chart.yaml
index 779c28ed..7e234369 100644
--- a/Chart.yaml
+++ b/Chart.yaml
@@ -4,7 +4,7 @@ description: |
   A helm chart for installing NextCloud and setting up ONLYOFFICE integration
 name: nextcloud-onlyoffice
 appVersion: NC-29.0.4-OO-7.2.2.56
-version: 0.15.26
+version: 0.15.27
 icon: https://cdn.rawgit.com/docker-library/docs/defa5ffc7123177acd60ddef6e16bddf694cc35f/nextcloud/logo.svg
 dependencies:
   # https://artifacthub.io/packages/helm/nextcloud/nextcloud
diff --git a/templates/setup-apps-configmap.yaml b/templates/setup-apps-configmap.yaml
index f2ceee7e..fdfc6ed9 100644
--- a/templates/setup-apps-configmap.yaml
+++ b/templates/setup-apps-configmap.yaml
@@ -168,6 +168,7 @@ data:
     if [ "$current" == "name is currently not set" ]
     then
       echo "Setting instance name."
+      # Quote string twice: once for bash (this script), once for the sh in run_as.
       run_as "php $occ theming:config name "{{ printf "%q" (printf "%q" .Values.theming.name) }}
     else
       echo "Instance name is already set, not changing."
-- 
GitLab