From 8ffc750a7537c483fa8e8b3b8ba274be7f8828a3 Mon Sep 17 00:00:00 2001 From: WrenIX Date: Thu, 19 Dec 2024 23:15:46 +0100 Subject: [PATCH 1/7] feat(nextcloud)!: add changelog for next major release Signed-off-by: WrenIX --- charts/nextcloud/CHANGELOG.md | 9 +++++++++ charts/nextcloud/Chart.yaml | 2 +- charts/nextcloud/README.md | 6 ++++++ 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 charts/nextcloud/CHANGELOG.md diff --git a/charts/nextcloud/CHANGELOG.md b/charts/nextcloud/CHANGELOG.md new file mode 100644 index 00000000..fb8d9270 --- /dev/null +++ b/charts/nextcloud/CHANGELOG.md @@ -0,0 +1,9 @@ +# Changelog + +This Helm-Chart increase there major version on every breaking change (or major version of Nextcloud itself) inspired by semantic releases. + +Here we list all major versions and their breaking changes for migration. + +## v7 + +- diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml index 378fb7b5..82604cb4 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: nextcloud -version: 6.6.9 +version: 7.0.0 # renovate: image=docker.io/library/nextcloud appVersion: 30.0.6 description: A file sharing server that puts the control and security of your own data back into your hands. diff --git a/charts/nextcloud/README.md b/charts/nextcloud/README.md index 7c45e1f8..30d98ef7 100644 --- a/charts/nextcloud/README.md +++ b/charts/nextcloud/README.md @@ -15,6 +15,7 @@ helm install my-release nextcloud/nextcloud * [Prerequisites](#prerequisites) * [Installing the Chart](#installing-the-chart) * [Uninstalling the Chart](#uninstalling-the-chart) +* [Upgrade / Breaking Changes](#upgrade--breaking-changes) * [Configuration](#configuration) * [Ingress](#ingress) * [Ingress Sticky-Sessions](#ingress-sticky-sessions) @@ -97,6 +98,11 @@ helm delete my-release The command removes all the Kubernetes components associated with the chart and deletes the release. +## Upgrade / Breaking Changes + +There is a Changelog of breaking changes here: [CHANGELOG.md](./CHANGELOG.md). +You should read it bevore updating. + ## Configuration The following table lists the configurable parameters of the nextcloud chart and their default values. From eb19131aaf605fbcb4af7f4a3797fd1703fa9b07 Mon Sep 17 00:00:00 2001 From: WrenIX Date: Thu, 19 Dec 2024 23:19:31 +0100 Subject: [PATCH 2/7] fix(deps)!: update redis to v20 Signed-off-by: WrenIX --- charts/nextcloud/CHANGELOG.md | 2 +- charts/nextcloud/Chart.lock | 6 +++--- charts/nextcloud/Chart.yaml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/nextcloud/CHANGELOG.md b/charts/nextcloud/CHANGELOG.md index fb8d9270..6336167e 100644 --- a/charts/nextcloud/CHANGELOG.md +++ b/charts/nextcloud/CHANGELOG.md @@ -6,4 +6,4 @@ Here we list all major versions and their breaking changes for migration. ## v7 -- +- update redis to v20 (see [CHANGELOG](https://github.com/bitnami/charts/blob/main/bitnami/redis/CHANGELOG.md#2000-2024-08-09)) diff --git a/charts/nextcloud/Chart.lock b/charts/nextcloud/Chart.lock index aacdcb41..f55a9eec 100644 --- a/charts/nextcloud/Chart.lock +++ b/charts/nextcloud/Chart.lock @@ -7,9 +7,9 @@ dependencies: version: 18.2.0 - name: redis repository: oci://registry-1.docker.io/bitnamicharts - version: 19.6.4 + version: 20.11.3 - name: collabora-online repository: https://collaboraonline.github.io/online version: 1.1.20 -digest: sha256:00e8d82d28825fd3f46e7e7d888d1aac93ebdb5135f6a4d7e6ae0c3155881c27 -generated: "2024-12-15T19:47:53.357052+01:00" +digest: sha256:61937d02c2d442f1451258962ea28cb736d8e12e1cdc0ab7fbb9f5a7e51ebb4f +generated: "2025-03-17T20:32:30.542527917+01:00" diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml index 82604cb4..3585e74b 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -36,7 +36,7 @@ dependencies: repository: oci://registry-1.docker.io/bitnamicharts condition: mariadb.enabled - name: redis - version: 19.6.4 + version: 20.11.3 repository: oci://registry-1.docker.io/bitnamicharts condition: redis.enabled - name: collabora-online From 33cd20227ae72dc2e12dfacb77668d6d2ea4329c Mon Sep 17 00:00:00 2001 From: WrenIX Date: Thu, 19 Dec 2024 23:23:34 +0100 Subject: [PATCH 3/7] fix(deps)!: update postgresql to v16 Signed-off-by: WrenIX --- charts/nextcloud/CHANGELOG.md | 1 + charts/nextcloud/Chart.lock | 6 +++--- charts/nextcloud/Chart.yaml | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/charts/nextcloud/CHANGELOG.md b/charts/nextcloud/CHANGELOG.md index 6336167e..66041c55 100644 --- a/charts/nextcloud/CHANGELOG.md +++ b/charts/nextcloud/CHANGELOG.md @@ -7,3 +7,4 @@ Here we list all major versions and their breaking changes for migration. ## v7 - update redis to v20 (see [CHANGELOG](https://github.com/bitnami/charts/blob/main/bitnami/redis/CHANGELOG.md#2000-2024-08-09)) +- update postgresql to v16 (see [CHANGELOG](https://github.com/bitnami/charts/blob/main/bitnami/postgresql/CHANGELOG.md#1600-2024-10-02)) diff --git a/charts/nextcloud/Chart.lock b/charts/nextcloud/Chart.lock index f55a9eec..1e767b5a 100644 --- a/charts/nextcloud/Chart.lock +++ b/charts/nextcloud/Chart.lock @@ -1,7 +1,7 @@ dependencies: - name: postgresql repository: oci://registry-1.docker.io/bitnamicharts - version: 15.5.0 + version: 16.5.1 - name: mariadb repository: oci://registry-1.docker.io/bitnamicharts version: 18.2.0 @@ -11,5 +11,5 @@ dependencies: - name: collabora-online repository: https://collaboraonline.github.io/online version: 1.1.20 -digest: sha256:61937d02c2d442f1451258962ea28cb736d8e12e1cdc0ab7fbb9f5a7e51ebb4f -generated: "2025-03-17T20:32:30.542527917+01:00" +digest: sha256:d7ebd9f4d3f6947fd949859666c6c2217e21f30b3d5c539e83b480f1ec0157aa +generated: "2025-03-17T20:38:10.592674849+01:00" diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml index 3585e74b..ea982517 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -28,7 +28,7 @@ maintainers: url: https://jessebot.work dependencies: - name: postgresql - version: 15.5.0 + version: 16.5.1 repository: oci://registry-1.docker.io/bitnamicharts condition: postgresql.enabled - name: mariadb From f9b1671e3bf5395313fd4981faddca9b926fdea2 Mon Sep 17 00:00:00 2001 From: WrenIX Date: Thu, 19 Dec 2024 23:25:44 +0100 Subject: [PATCH 4/7] fix(deps)!: update mariadb to v20 Signed-off-by: WrenIX --- charts/nextcloud/CHANGELOG.md | 2 ++ charts/nextcloud/Chart.lock | 6 +++--- charts/nextcloud/Chart.yaml | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/charts/nextcloud/CHANGELOG.md b/charts/nextcloud/CHANGELOG.md index 66041c55..8973b319 100644 --- a/charts/nextcloud/CHANGELOG.md +++ b/charts/nextcloud/CHANGELOG.md @@ -8,3 +8,5 @@ Here we list all major versions and their breaking changes for migration. - update redis to v20 (see [CHANGELOG](https://github.com/bitnami/charts/blob/main/bitnami/redis/CHANGELOG.md#2000-2024-08-09)) - update postgresql to v16 (see [CHANGELOG](https://github.com/bitnami/charts/blob/main/bitnami/postgresql/CHANGELOG.md#1600-2024-10-02)) +- update mariadb to v19 (see [CHANGELOG](https://github.com/bitnami/charts/blob/main/bitnami/mariadb/CHANGELOG.md#1900-2024-07-11)) +- update mariadb to v20 (see [CHANGELOG](https://github.com/bitnami/charts/blob/main/bitnami/mariadb/CHANGELOG.md#2000-2024-11-08)) diff --git a/charts/nextcloud/Chart.lock b/charts/nextcloud/Chart.lock index 1e767b5a..1b28ca34 100644 --- a/charts/nextcloud/Chart.lock +++ b/charts/nextcloud/Chart.lock @@ -4,12 +4,12 @@ dependencies: version: 16.5.1 - name: mariadb repository: oci://registry-1.docker.io/bitnamicharts - version: 18.2.0 + version: 20.4.1 - name: redis repository: oci://registry-1.docker.io/bitnamicharts version: 20.11.3 - name: collabora-online repository: https://collaboraonline.github.io/online version: 1.1.20 -digest: sha256:d7ebd9f4d3f6947fd949859666c6c2217e21f30b3d5c539e83b480f1ec0157aa -generated: "2025-03-17T20:38:10.592674849+01:00" +digest: sha256:527dbb38da0523da66605923a74ca2f5666d3548f1618114e85b08d4759ec2d3 +generated: "2025-03-17T20:39:18.201813568+01:00" diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml index ea982517..2acf6161 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -32,7 +32,7 @@ dependencies: repository: oci://registry-1.docker.io/bitnamicharts condition: postgresql.enabled - name: mariadb - version: 18.2.0 + version: 20.4.1 repository: oci://registry-1.docker.io/bitnamicharts condition: mariadb.enabled - name: redis From 99a2d51876aa37069a1e5e886e0bccdafdd22ef9 Mon Sep 17 00:00:00 2001 From: WrenIX Date: Thu, 19 Dec 2024 23:31:40 +0100 Subject: [PATCH 5/7] fix(deps)!: update nextcloud to v31 Signed-off-by: WrenIX --- charts/nextcloud/CHANGELOG.md | 1 + charts/nextcloud/Chart.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/nextcloud/CHANGELOG.md b/charts/nextcloud/CHANGELOG.md index 8973b319..a5fca030 100644 --- a/charts/nextcloud/CHANGELOG.md +++ b/charts/nextcloud/CHANGELOG.md @@ -10,3 +10,4 @@ Here we list all major versions and their breaking changes for migration. - update postgresql to v16 (see [CHANGELOG](https://github.com/bitnami/charts/blob/main/bitnami/postgresql/CHANGELOG.md#1600-2024-10-02)) - update mariadb to v19 (see [CHANGELOG](https://github.com/bitnami/charts/blob/main/bitnami/mariadb/CHANGELOG.md#1900-2024-07-11)) - update mariadb to v20 (see [CHANGELOG](https://github.com/bitnami/charts/blob/main/bitnami/mariadb/CHANGELOG.md#2000-2024-11-08)) +- update nextcloud to v31 (see [CHANGELOG](https://nextcloud.com/changelog/#31-0-0)) diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml index 2acf6161..e6c4ecdd 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: nextcloud version: 7.0.0 # renovate: image=docker.io/library/nextcloud -appVersion: 30.0.6 +appVersion: 31.0.2 description: A file sharing server that puts the control and security of your own data back into your hands. keywords: - nextcloud From 7c27d492e58b382659fad550f80afd3481aa29af Mon Sep 17 00:00:00 2001 From: antoinetran Date: Mon, 24 Mar 2025 16:45:05 +0100 Subject: [PATCH 6/7] Fix #714: large file upload tuning as configuration Signed-off-by: antoinetran --- charts/nextcloud/files/nginx.config.tpl | 4 +--- charts/nextcloud/values.yaml | 7 +++++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/charts/nextcloud/files/nginx.config.tpl b/charts/nextcloud/files/nginx.config.tpl index 93b9e906..e5898aef 100644 --- a/charts/nextcloud/files/nginx.config.tpl +++ b/charts/nextcloud/files/nginx.config.tpl @@ -26,9 +26,7 @@ server { {{- end }} {{- end }} - # set max upload size - client_max_body_size 10G; - fastcgi_buffers 64 4K; + {{- .Values.nginx.config.serverBlockCustom | nindent 4 }} # Enable gzip but do not remove ETag headers gzip on; diff --git a/charts/nextcloud/values.yaml b/charts/nextcloud/values.yaml index e8e374aa..4ea06b5e 100644 --- a/charts/nextcloud/values.yaml +++ b/charts/nextcloud/values.yaml @@ -353,6 +353,13 @@ nginx: "X-Robots-Tag": "noindex, nofollow" "X-XSS-Protection": "1; mode=block" + # Added in server block of default config. + serverBlockCustom: | + # set max upload size + client_max_body_size 10G; + fastcgi_buffers 64 4K; + fastcgi_read_timeout 3600s; + custom: # custom: |- # worker_processes 1;.. From aaf2b71e10c892f28a839bf79fd03cb5ec32670b Mon Sep 17 00:00:00 2001 From: antoinetran Date: Wed, 26 Mar 2025 16:23:09 +0100 Subject: [PATCH 7/7] Update Chart.yaml Signed-off-by: antoinetran --- charts/nextcloud/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml index e6c4ecdd..8862ac00 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: nextcloud -version: 7.0.0 +version: 7.0.1 # renovate: image=docker.io/library/nextcloud appVersion: 31.0.2 description: A file sharing server that puts the control and security of your own data back into your hands.