From ceeba27a363b2b1bc83ad27241259c0ef73e241f Mon Sep 17 00:00:00 2001
From: Arie Peterson <arie@greenhost.nl>
Date: Thu, 27 Jun 2024 13:24:28 +0200
Subject: [PATCH] Update CHANGELOG and increase version to 0.15.22

---
 CHANGELOG.md | 120 ++++++++++++++++++++++++++-------------------------
 Chart.yaml   |   4 +-
 2 files changed, 64 insertions(+), 60 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 56c7705..3255894 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,20 +1,24 @@
 # Changelog
 
-## Unreleased
+## 0.15.22 - 2024-06-27
 
 * Keep app store disabled during setup script, to prevent apps from
   unintentionally upgrading beyond their pinned versions.
+* Template setup-apps script from helm upgrade job instead of from Nextcloud
+  deployment. This makes sure that when we only change helm values -- the set
+  of Nextcloud apps in particular -- and the deployment is not restarted, the
+  script still runs with the latest values.
 
-## [0.15.21] - 2024-05-10
+## 0.15.21 - 2024-05-10
 
 * Allow setting SCIM token for use with the `scimserviceprovider` app.
 
-## [0.15.20] - 2023-12-21
+## 0.15.20 - 2023-12-21
 
 * Fix logic to decide source of nextcloud apps: pinned from upstream repo, or
   unpinned from nextcloud app store.
 
-## [0.15.19] - 2023-12-20
+## 0.15.19 - 2023-12-20
 
 * Update nextcloud helm chart to v4.5.8.
   - In particular this upgrades Nextcloud to 27.1.4.
@@ -26,17 +30,17 @@
   expected ones. This helps to prevent accidentally disabling apps by upgrading
   them to versions that are not compatible with the nextcloud version.
 
-## [0.15.18] - 2023-11-01
+## 0.15.18 - 2023-11-01
 
 * Disable bulkupload, to prevent failures with the desktop client.
 * Fix some security and setup warnings.
 * Update rabbitmq to v12.2.0.
 
-## [0.15.17] - 2023-09-14
+## 0.15.17 - 2023-09-14
 
 * Replace OIDC app `sociallogin` by its fork `oidc_login`.
 
-## [0.15.16] - 2023-09-06
+## 0.15.16 - 2023-09-06
 
 * Update nextcloud helm chart to v3.5.22
   - In particular, this upgrades Nextcloud to 27.0.2
@@ -44,7 +48,7 @@
 * Reduce output of app install/upgrade script, by removing the tar output
   listing all app files.
 
-## [0.15.15] - 2023-08-02
+## 0.15.15 - 2023-08-02
 
 * Run our configuration and app install/update scripts on chart install and
   upgrade, no longer on pod start. This greatly reduces the startup time for
@@ -52,13 +56,13 @@
 * Do not create "skeleton" (example/demo files) for new users (except for the
   first admin user).
 
-## [0.15.14] - 2023-06-20
+## 0.15.14 - 2023-06-20
 
 * Update nextcloud helm chart to v3.5.3.
   - In particular this upgrades Nextcloud to 26.0.2.
 * Update rabbitmq to v12.0.1.
 
-## [0.15.13] - 2023-05-04
+## 0.15.13 - 2023-05-04
 
 * **Breaking**: Divide `apps` value to `default` and `custom`. If you have an override 
   to nextcloud helm values in Stackspin, you need to adapt to this new structure.
@@ -67,14 +71,14 @@
 * Update onlyoffice app to 7.8.0.
 * Update dependency zorn-v/nextcloud-social-login to v5.4.3
 
-## [0.15.12] - 2023-03-17
+## 0.15.12 - 2023-03-17
 
 * Increase page load timeout in test to 90 seconds.
 * Update nextcloud helm chart to v3.5.3.
 * Update sociallogin version to v5.4.2.
 * Update rabbitmq to v11.10.3.
 
-## [0.15.11] - 2023-03-01
+## 0.15.11 - 2023-03-01
 
 * Catch errors in setup-apps.sh to allow nextcloud to start regardless of them,
   and add a prometheus monitor and alert so that we may still be notified of
@@ -82,42 +86,42 @@
 * Update nextcloud helm chart to v3.5.1.
 * Update rabbitmq to v11.10.0.
 
-## [0.15.10] - 2023-02-08
+## 0.15.10 - 2023-02-08
 
 * Adapt test to changed Stackspin dashboard button label.
 
-## [0.15.9] - 2023-01-24
+## 0.15.9 - 2023-01-24
 
 * Set `trusted_domains` setting explicitly in our config.
 * Update nextcloud helm chart to 3.4.1.
 
-## [0.15.5] - 2022-11-09
+## 0.15.5 - 2022-11-09
 
 * Update nextcloud helm chart to 3.3.3.
 * Update onlyoffice app to 7.6.8.
 
-## [0.15.4] - 2022-11-09
+## 0.15.4 - 2022-11-09
 
 * Do not fail cypress tests on uncaught javascript exception.
 
-## [0.15.2] - 2022-10-27
+## 0.15.2 - 2022-10-27
 
 * Allow quotes in commit message for cypress.
 
-## [0.15.1] - 2022-10-26
+## 0.15.1 - 2022-10-26
 
 * Add cypress test output to pod logs
 
-## [0.15.0] - 2022-10-26
+## 0.15.0 - 2022-10-26
 
 * Migrate post install and upgrade jobs to a postStartCommand inside the
   Nextcloud pod
 
-## [0.14.1] - 2022-10-20
+## 0.14.1 - 2022-10-20
 
 * Remove default passwords in values.yaml and values-local.yaml.example
 
-## [0.14.0] - 2022-10-18
+## 0.14.0 - 2022-10-18
 
 * Fix helm test when you try to use ssoLogin
 
@@ -125,116 +129,116 @@
   `tests.ssoLogin.password` to the password of the SSO user and remove the
   `tests.ssoLogin.passwordSecret` section.
 
-## [0.13.3] - 2022-10-06
+## 0.13.3 - 2022-10-06
 
 * Do not accidentally send onlyoffice traffic to cypress pod.
 
-## [0.13.2] - 2022-10-06
+## 0.13.2 - 2022-10-06
 
 * Disable Cypress video compression
 * Only upload Cypress video on failure
 
-## [0.13.0] - 2022-08-25
+## 0.13.0 - 2022-08-25
 
 * Enable redis for NC, managed by the NC dependency redis chart.
   Onlyoffice shares the same Redis instance.
 
-## [0.12.2] - 2022-09-28
+## 0.12.2 - 2022-09-28
 
 * Fix bug with installing "contacts" app
 
-## [0.12.0] - 2022-09-21
+## 0.12.0 - 2022-09-21
 
 * Allow installing apps from GitHub releases
 * Allow pinning the versions for apps installed from GitHub releases
 
-## [0.11.0] - 2022-09-15
+## 0.11.0 - 2022-09-15
 
 * Disable OnlyOffice CPU-heavy tasks on startup (#1069)
 
-## [0.10.28] - 2022-09-06
+## 0.10.28 - 2022-09-06
 
 * Quote other COMMIT_INFO values to not screw up yaml
 
-## [0.10.23] - 2022-08-24
+## 0.10.23 - 2022-08-24
 
 * Update Helm release rabbitmq to v10.3.1
 * Make CYPRESS_PROJECT_ID and CYPRESS_RECORD_KEY optional
 * Quote COMMIT_INFO_SHA because it should not be an int
 
-## [0.10.21] - 2022-08-23
+## 0.10.21 - 2022-08-23
 
 * Use right Gitlab CI var for Cypress branch name
 
-## [0.10.20] - 2022-08-23
+## 0.10.20 - 2022-08-23
 
 * Fix install error with multi-line commit message
 
-## [0.10.19] - 2022-08-23
+## 0.10.19 - 2022-08-23
 
 * Set Cypress env vars for git details
 
-## [0.10.18] - 2022-08-23
+## 0.10.18 - 2022-08-23
 
 * Add Cypress projectId value and remove hardcoded project id from cypress.config.js
 * Fix stale app version numbers in Chart.yaml
 
-## [0.10.9] - 2022-08-03
+## 0.10.9 - 2022-08-03
 
 * Fix trusted_proxies to allow nextcloud to read correct remote IP addresses.
 
-## [0.10.4] - 2022-07-26
+## 0.10.4 - 2022-07-26
 
 * Configure ONLYOFFICE integration app to always open documents in same tab.
 
-## [0.10.0] - 2022-07-07
+## 0.10.0 - 2022-07-07
 
 * Use cypress instead of taiko for e2e tests
 
-## [0.8.0] - 2022-05-04
+## 0.8.0 - 2022-05-04
 
 * Made sure the chart can be installed twice into the same namespace
   * **BREAKING**: You need to now specify the ONLYOFFICE database password under
     `global.onlyofficeDb.password`. If you have overriden other values from
     `onlyoffice.database`, they should also move to `global.onlyofficeDb`.
 
-## [0.7.39] - 2022-04-29
+## 0.7.39 - 2022-04-29
 
 * Rename configMap to prevent helmRelease to fail when nextcloud.configs
   is specified (#1030)
 
-## [0.7.18] - 2022-03-24
+## 0.7.18 - 2022-03-24
 
 * Fix broken nextcloud cronjobs.
 
-## [0.7.16] - 2022-03-24
+## 0.7.16 - 2022-03-24
 
 * Add maintenance tasks and app updated to post-install/-upgrade helm hook
 
-## [0.7.0] - 2022-02-22
+## 0.7.0 - 2022-02-22
 
 * Replace ONLYOFFICE's postgresql database by mariadb. When upgrading, please
   make sure no documents are opened in ONLYOFFICE during the upgrade process.
 
-## [0.6.0] - 2021-01-21
+## 0.6.0 - 2021-01-21
 
 * Upgrade ONLYOFFICE version from 6.4.2.6 to 7.0.0.132
 
-## [0.5.3] - 2021-12-01
+## 0.5.3 - 2021-12-01
 
 * Chart is now available on via helm repository:
   <https://open.greenhost.net/api/v4/projects/1/packages/helm/stable>
 
-## [0.5.2] - 2021-11-03
+## 0.5.2 - 2021-11-03
 
 * Allow setting custom Kubernetes labels and annotations on onlyoffice deployment
   and pod.
 
-## [0.5.1] - 2021-11-03
+## 0.5.1 - 2021-11-03
 
 * Fix mistakes in sociallogin config
 
-## [0.5.0] - 2021-11-02
+## 0.5.0 - 2021-11-02
 
 * Change the sociallogin settings structure so it can be automatically converted
   to JSON
@@ -253,7 +257,7 @@
       clientSecret: "${nextcloud_oauth_client_secret}"
   ```
 
-## [0.4.0] - 2021-11-02
+## 0.4.0 - 2021-11-02
 
 * Replace pod probes by exec ones to actually check healthcheck status
 * Update NC chart to 2.9.0
@@ -262,51 +266,51 @@
     notes](https://github.com/bitnami/charts/tree/master/bitnami/mariadb/#to-800).
   * Also, this requires Helm version 3.7 or higher to install (or upgrade).
 
-## [0.3.3] - 2021-09-02
+## 0.3.3 - 2021-09-02
 
 * Add startupProbe for ONLYOFFICE
 
-## [0.3.2] - 2021-08-12
+## 0.3.2 - 2021-08-12
 
 * Update NC chart to 2.7.3
 * Let setup-apps jobs stay around for introspection for 10m after
   successful completion
 
-## [0.3.1] - 2021-08-10
+## 0.3.1 - 2021-08-10
 
 * Fix `setup-apps` job for chart upgrades with new apps
 
-## [0.3.0] - 2021-08-04
+## 0.3.0 - 2021-08-04
 
 * Update NC chart to 2.7.0, including NC 20.0.11
 
-## [0.2.9] - 2021-06-14
+## 0.2.9 - 2021-06-14
 
 * Add option to make `/var/lib/onlyoffice` a persistent directory
 
-## [0.2.8] - 2021-06-14
+## 0.2.8 - 2021-06-14
 
 * Enable ONLYOFFICE "forcesave" feature by default
 
-## [0.2.7] - 2021-04-21
+## 0.2.7 - 2021-04-21
 
 * Update ONLYOFFICE version to 6.2.2.21
 
-## [0.2.6] - 2021-03-18
+## 0.2.6 - 2021-03-18
 
 * Allow `USE_UNAUTHORIZED_STORAGE` and `ONLYOFFICE_HTTPS_HSTS_ENABLED`
 
-## [0.2.5] - 2021-03-18
+## 0.2.5 - 2021-03-18
 
 * Specify proper repo URLs, add Chart.lock
 * Deprecate @stable repo
 * Small fixes
 
-## [0.2.4] - 2020-07-08
+## 0.2.4 - 2020-07-08
 
 * Update configuration of sociallogin plugin to work with newest version of app
 
-## [0.2.3] - 2020-06-08
+## 0.2.3 - 2020-06-08
 
 * Upgrade Nextcloud to 17.0 (helm chart 1.10.1)
 * Upgrade Postgresql to 11.7.0 (helm chart 8.6.4)
diff --git a/Chart.yaml b/Chart.yaml
index 0c3886a..edffa92 100644
--- a/Chart.yaml
+++ b/Chart.yaml
@@ -3,8 +3,8 @@ apiVersion: v2
 description: |
   A helm chart for installing NextCloud and setting up ONLYOFFICE integration
 name: nextcloud-onlyoffice
-appVersion: NC-27.1.4-OO-7.2.2.56
-version: 0.15.22-appstore
+appVersion: NC-28.0.4-OO-7.2.2.56
+version: 0.15.22
 icon: https://cdn.rawgit.com/docker-library/docs/defa5ffc7123177acd60ddef6e16bddf694cc35f/nextcloud/logo.svg
 dependencies:
   # https://artifacthub.io/packages/helm/nextcloud/nextcloud
-- 
GitLab