From 09fa9196fd2b71fd759490e5ac82deb8a6183d49 Mon Sep 17 00:00:00 2001 From: Josef Hofer Date: Sat, 4 Oct 2025 09:13:29 +0200 Subject: [PATCH 1/8] fix(nextcloud): lower outdated apps prometheus alertrule to info #784 Signed-off-by: Josef Hofer --- charts/nextcloud/Chart.yaml | 2 +- charts/nextcloud/templates/metrics/prometheus-rules.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml index d8e1b48c..58ab64e2 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: nextcloud -version: 8.2.0 +version: 8.2.1 # renovate: image=docker.io/library/nextcloud appVersion: 32.0.0 description: A file sharing server that puts the control and security of your own data back into your hands. diff --git a/charts/nextcloud/templates/metrics/prometheus-rules.yaml b/charts/nextcloud/templates/metrics/prometheus-rules.yaml index deb56439..3eaa8946 100644 --- a/charts/nextcloud/templates/metrics/prometheus-rules.yaml +++ b/charts/nextcloud/templates/metrics/prometheus-rules.yaml @@ -42,7 +42,7 @@ spec: - alert: "nextcloud: outdated apps" expr: 'sum(nextcloud_apps_updates_available_total{ {{ $filter }} }) without(endpoint,container,pod,instance) > 0' labels: - severity: "warning" + severity: "info" {{- with .labels }} {{- toYaml . | nindent 12 }} {{- end }} From 8440e74dc5667285894d9ceb8a37a36e831dba79 Mon Sep 17 00:00:00 2001 From: Mazins <133565773+mazinsfr@users.noreply.github.com> Date: Sat, 4 Oct 2025 09:18:52 +0200 Subject: [PATCH 2/8] feat(nextcloud): allow imagePullSecrets for cronjob #781 Signed-off-by: Txomin Itoiz --- charts/nextcloud/Chart.yaml | 2 +- charts/nextcloud/templates/cronjob.yaml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml index 58ab64e2..6d5bc1b9 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: nextcloud -version: 8.2.1 +version: 8.3.0 # renovate: image=docker.io/library/nextcloud appVersion: 32.0.0 description: A file sharing server that puts the control and security of your own data back into your hands. diff --git a/charts/nextcloud/templates/cronjob.yaml b/charts/nextcloud/templates/cronjob.yaml index fabee569..63b8403c 100644 --- a/charts/nextcloud/templates/cronjob.yaml +++ b/charts/nextcloud/templates/cronjob.yaml @@ -35,6 +35,12 @@ spec: {{- toYaml . | nindent 12 }} {{- end }} spec: + {{- with $.Values.image.pullSecrets }} + imagePullSecrets: + {{- range . }} + - name: {{ . }} + {{- end}} + {{- end }} restartPolicy: Never containers: - name: {{ $.Chart.Name }}-cron From 8796b9f40a9f25650cee4d932d15325cbce6d2b3 Mon Sep 17 00:00:00 2001 From: Mazins <133565773+mazinsfr@users.noreply.github.com> Date: Tue, 7 Oct 2025 13:47:30 +0200 Subject: [PATCH 3/8] feat(nextcloud): add topologySpreadConstraints support #782 Signed-off-by: Txomin Itoiz --- charts/nextcloud/Chart.yaml | 2 +- charts/nextcloud/README.md | 44 ++++++++++--------- charts/nextcloud/templates/cronjob.yaml | 4 ++ charts/nextcloud/templates/deployment.yaml | 4 ++ .../templates/imaginary/deployment.yaml | 4 ++ charts/nextcloud/values.yaml | 5 +++ 6 files changed, 41 insertions(+), 22 deletions(-) diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml index 6d5bc1b9..a6357669 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: nextcloud -version: 8.3.0 +version: 8.4.0 # renovate: image=docker.io/library/nextcloud appVersion: 32.0.0 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 dd289e80..43c456bc 100644 --- a/charts/nextcloud/README.md +++ b/charts/nextcloud/README.md @@ -245,6 +245,7 @@ The following table lists the configurable parameters of the nextcloud chart and | `podLabels` | Labels to be added at 'pod' level | not set | | `podAnnotations` | Annotations to be added at 'pod' level | not set | | `dnsConfig` | Custom dnsConfig for nextcloud containers | `{}` | +| `topologySpreadConstraints` | TopologySpreadConstraints for nextcloud pod and cronjob pod | `{}` | ### Ingress #### Ingress Sticky-Sessions @@ -561,27 +562,28 @@ This section provides options to enable and configure the Collabora Online serve We include an optional external preview provider from [h2non/imaginary](https://github.com/h2non/imaginary). -| Parameter | Description | Default | -| ---------------------------------- | -------------------------------------------------------------------------------------- | ----------------- | -| `imaginary.enabled` | Start Imaginary | `false` | -| `imaginary.replicaCount` | Number of imaginary pod replicas to deploy | `1` | -| `imaginary.image.registry` | Imaginary image name | `docker.io` | -| `imaginary.image.repository` | Imaginary image name | `h2non/imaginary` | -| `imaginary.image.tag` | Imaginary image tag | `1.2.4` | -| `imaginary.image.pullPolicy` | Imaginary image pull policy | `IfNotPresent` | -| `imaginary.image.pullSecrets` | Imaginary image pull secrets | `nil` | -| `imaginary.podAnnotations` | Additional annotations for imaginary | `{}` | -| `imaginary.podLabels` | Additional labels for imaginary | `{}` | -| `imaginary.nodeSelector` | Imaginary pod nodeSelector | `{}` | -| `imaginary.tolerations` | Imaginary pod tolerations | `[]` | -| `imaginary.resources` | imaginary resources | `{}` | -| `imaginary.securityContext` | Optional security context for the Imaginary container | `nil` | -| `imaginary.podSecurityContext` | Optional security context for the Imaginary pod (applies to all containers in the pod) | `nil` | -| `imaginary.service.type` | Imaginary: Kubernetes Service type | `ClusterIP` | -| `imaginary.service.loadBalancerIP` | Imaginary: LoadBalancerIp for service type LoadBalancer | `nil` | -| `imaginary.service.nodePort` | Imaginary: NodePort for service type NodePort | `nil` | -| `imaginary.service.annotations` | Additional annotations for service imaginary | `{}` | -| `imaginary.service.labels` | Additional labels for service imaginary | `{}` | +| Parameter | Description | Default | +| ------------------------------------- | -------------------------------------------------------------------------------------- | ----------------- | +| `imaginary.enabled` | Start Imaginary | `false` | +| `imaginary.replicaCount` | Number of imaginary pod replicas to deploy | `1` | +| `imaginary.image.registry` | Imaginary image name | `docker.io` | +| `imaginary.image.repository` | Imaginary image name | `h2non/imaginary` | +| `imaginary.image.tag` | Imaginary image tag | `1.2.4` | +| `imaginary.image.pullPolicy` | Imaginary image pull policy | `IfNotPresent` | +| `imaginary.image.pullSecrets` | Imaginary image pull secrets | `nil` | +| `imaginary.podAnnotations` | Additional annotations for imaginary | `{}` | +| `imaginary.podLabels` | Additional labels for imaginary | `{}` | +| `imaginary.nodeSelector` | Imaginary pod nodeSelector | `{}` | +| `imaginary.tolerations` | Imaginary pod tolerations | `[]` | +| `imaginary.topologySpreadConstraints` | Imaginary pod topologySpreadConstraints | `[]` | +| `imaginary.resources` | imaginary resources | `{}` | +| `imaginary.securityContext` | Optional security context for the Imaginary container | `nil` | +| `imaginary.podSecurityContext` | Optional security context for the Imaginary pod (applies to all containers in the pod) | `nil` | +| `imaginary.service.type` | Imaginary: Kubernetes Service type | `ClusterIP` | +| `imaginary.service.loadBalancerIP` | Imaginary: LoadBalancerIp for service type LoadBalancer | `nil` | +| `imaginary.service.nodePort` | Imaginary: NodePort for service type NodePort | `nil` | +| `imaginary.service.annotations` | Additional annotations for service imaginary | `{}` | +| `imaginary.service.labels` | Additional labels for service imaginary | `{}` | > [!Note] diff --git a/charts/nextcloud/templates/cronjob.yaml b/charts/nextcloud/templates/cronjob.yaml index 63b8403c..9393475a 100644 --- a/charts/nextcloud/templates/cronjob.yaml +++ b/charts/nextcloud/templates/cronjob.yaml @@ -70,6 +70,10 @@ spec: tolerations: {{- toYaml . | nindent 12 }} {{- end }} + {{- with $.Values.topologySpreadConstraints }} + topologySpreadConstraints: + {{- toYaml . | nindent 12 }} + {{- end }} {{- end }}{{/* end with cronjob */}} volumes: - name: nextcloud-main diff --git a/charts/nextcloud/templates/deployment.yaml b/charts/nextcloud/templates/deployment.yaml index 87cac6ad..18aadb50 100644 --- a/charts/nextcloud/templates/deployment.yaml +++ b/charts/nextcloud/templates/deployment.yaml @@ -341,6 +341,10 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.topologySpreadConstraints }} + topologySpreadConstraints: + {{- toYaml . | nindent 8 }} + {{- end }} volumes: - name: nextcloud-main {{- if .Values.persistence.enabled }} diff --git a/charts/nextcloud/templates/imaginary/deployment.yaml b/charts/nextcloud/templates/imaginary/deployment.yaml index 6e8fc510..8ccca252 100644 --- a/charts/nextcloud/templates/imaginary/deployment.yaml +++ b/charts/nextcloud/templates/imaginary/deployment.yaml @@ -85,4 +85,8 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.imaginary.topologySpreadConstraints }} + topologySpreadConstraints: + {{- toYaml . | nindent 8 }} + {{- end }} {{- end }} diff --git a/charts/nextcloud/values.yaml b/charts/nextcloud/values.yaml index 991efb9f..159a422e 100644 --- a/charts/nextcloud/values.yaml +++ b/charts/nextcloud/values.yaml @@ -781,6 +781,9 @@ nodeSelector: {} tolerations: [] +# -- Nextcloud pod topologySpreadConstraints +topologySpreadConstraints: [] + affinity: {} dnsConfig: {} @@ -816,6 +819,8 @@ imaginary: nodeSelector: {} # -- Imaginary pod tolerations tolerations: [] + # -- Imaginary pod topologySpreadConstraints + topologySpreadConstraints: [] # -- imaginary resources resources: {} From 6ef85d1b2f970e3650c7684cf2b6120c00e66339 Mon Sep 17 00:00:00 2001 From: Josef Hofer Date: Fri, 10 Oct 2025 07:43:35 +0200 Subject: [PATCH 4/8] fix(nextcloud): cronjob not working with no $.Values.podLabels set #785 wrong type for value; expected map[string]interface {}; got interface {} i think this issue got introduced with #779 Signed-off-by: Josef Hofer --- charts/nextcloud/Chart.yaml | 2 +- charts/nextcloud/values.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml index a6357669..099c0414 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: nextcloud -version: 8.4.0 +version: 8.4.1 # renovate: image=docker.io/library/nextcloud appVersion: 32.0.0 description: A file sharing server that puts the control and security of your own data back into your hands. diff --git a/charts/nextcloud/values.yaml b/charts/nextcloud/values.yaml index 159a422e..6ba51894 100644 --- a/charts/nextcloud/values.yaml +++ b/charts/nextcloud/values.yaml @@ -12,6 +12,7 @@ image: nameOverride: "" fullnameOverride: "" podAnnotations: {} +podLabels: {} deploymentAnnotations: {} deploymentLabels: {} From 6e871a0245ea93ebfa7f3083ae77d34c2c0ee6b0 Mon Sep 17 00:00:00 2001 From: DrummyFloyd Date: Thu, 23 Oct 2025 08:49:01 +0200 Subject: [PATCH 5/8] feat(pvc): add extra labels on pvcs #793 Signed-off-by: DrummyFloyd --- charts/nextcloud/Chart.yaml | 2 +- charts/nextcloud/README.md | 2 ++ charts/nextcloud/templates/nextcloud-data-pvc.yaml | 3 +++ charts/nextcloud/templates/nextcloud-pvc.yaml | 3 +++ charts/nextcloud/values.yaml | 2 ++ 5 files changed, 11 insertions(+), 1 deletion(-) diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml index 099c0414..f80db547 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: nextcloud -version: 8.4.1 +version: 8.5.0 # renovate: image=docker.io/library/nextcloud appVersion: 32.0.0 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 43c456bc..b72b01af 100644 --- a/charts/nextcloud/README.md +++ b/charts/nextcloud/README.md @@ -392,12 +392,14 @@ Nextcloud will *not* delete the PVCs when uninstalling the helm chart. | ----------------------------------------- | ---------------------------------------------------- | --------------- | | `persistence.enabled` | Enable persistence using PVC | `false` | | `persistence.annotations` | PVC annotations | `{}` | +| `persistence.labels` | PVC labels | `{}` | | `persistence.storageClass` | PVC Storage Class for nextcloud volume | `nil` | | `persistence.existingClaim` | An Existing PVC name for nextcloud volume | `nil` | | `persistence.accessMode` | PVC Access Mode for nextcloud volume | `ReadWriteOnce` | | `persistence.size` | PVC Storage Request for nextcloud volume | `8Gi` | | `persistence.nextcloudData.enabled` | Create a second PVC for the data folder in nextcloud | `false` | | `persistence.nextcloudData.annotations` | see `persistence.annotations` | `{}` | +| `persistence.nextcloudData.labels` | see `persistence.labels` | `{}` | | `persistence.nextcloudData.storageClass` | see `persistence.storageClass` | `nil` | | `persistence.nextcloudData.existingClaim` | see `persistence.existingClaim` | `nil` | | `persistence.nextcloudData.accessMode` | see `persistence.accessMode` | `ReadWriteOnce` | diff --git a/charts/nextcloud/templates/nextcloud-data-pvc.yaml b/charts/nextcloud/templates/nextcloud-data-pvc.yaml index 46f7f33d..38779155 100644 --- a/charts/nextcloud/templates/nextcloud-data-pvc.yaml +++ b/charts/nextcloud/templates/nextcloud-data-pvc.yaml @@ -6,6 +6,9 @@ metadata: name: {{ template "nextcloud.fullname" . }}-nextcloud-data labels: {{- include "nextcloud.labels" ( dict "component" "app" "rootContext" $ ) | nindent 4 }} + {{- with .Values.persistence.nextcloudData.labels }} + {{- toYaml . | nindent 4 }} + {{- end }} annotations: helm.sh/resource-policy: keep {{- with .Values.persistence.nextcloudData.annotations }} diff --git a/charts/nextcloud/templates/nextcloud-pvc.yaml b/charts/nextcloud/templates/nextcloud-pvc.yaml index 18b936e5..d38ad807 100644 --- a/charts/nextcloud/templates/nextcloud-pvc.yaml +++ b/charts/nextcloud/templates/nextcloud-pvc.yaml @@ -5,6 +5,9 @@ metadata: name: {{ template "nextcloud.fullname" . }}-nextcloud labels: {{- include "nextcloud.labels" ( dict "component" "app" "rootContext" $ ) | nindent 4 }} + {{- with .Values.persistence.labels }} + {{- toYaml . | nindent 4 }} + {{- end }} annotations: helm.sh/resource-policy: keep {{- with .Values.persistence.annotations }} diff --git a/charts/nextcloud/values.yaml b/charts/nextcloud/values.yaml index 6ba51894..c6d80df2 100644 --- a/charts/nextcloud/values.yaml +++ b/charts/nextcloud/values.yaml @@ -703,6 +703,7 @@ persistence: # Nextcloud Data (/var/www/html) enabled: false annotations: {} + labels: {} ## nextcloud data Persistent Volume Storage Class ## If defined, storageClassName: ## If set to "-", storageClassName: "", which disables dynamic provisioning @@ -725,6 +726,7 @@ persistence: nextcloudData: enabled: false subPath: + labels: {} annotations: {} # storageClass: "-" # existingClaim: From 1a8f7b36fe6839375d7bd4fbea9e140749d40bb9 Mon Sep 17 00:00:00 2001 From: WrenIX <133280015+wrenix@users.noreply.github.com> Date: Sat, 25 Oct 2025 09:40:27 +0200 Subject: [PATCH 6/8] fix(nextcloud): update AppVersion to v32.0.1 #795 Signed-off-by: WrenIX <133280015+wrenix@users.noreply.github.com> --- charts/nextcloud/Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml index f80db547..738ce05d 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 name: nextcloud -version: 8.5.0 +version: 8.5.1 # renovate: image=docker.io/library/nextcloud -appVersion: 32.0.0 +appVersion: 32.0.1 description: A file sharing server that puts the control and security of your own data back into your hands. keywords: - nextcloud From ab87ad7772ff2407c29f16f416c61367b4ec745e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Nov 2025 21:10:53 +0000 Subject: [PATCH 7/8] chore(deps): bump helm/kind-action from 1.12.0 to 1.13.0 Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.12.0 to 1.13.0. - [Release notes](https://github.com/helm/kind-action/releases) - [Commits](https://github.com/helm/kind-action/compare/v1.12.0...v1.13.0) --- updated-dependencies: - dependency-name: helm/kind-action dependency-version: 1.13.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/lint-test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index 3db24619..e4fa3c9b 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -123,7 +123,7 @@ jobs: fi - name: Create kind cluster - uses: helm/kind-action@v1.12.0 + uses: helm/kind-action@v1.13.0 if: steps.list-changed.outputs.changed == 'true' - name: Install MinIO for testing S3 as Primary Storage From 2191712b37b913e7e46337a9c03ea8f3fe714adb Mon Sep 17 00:00:00 2001 From: Roger Roger Date: Wed, 5 Nov 2025 09:22:12 +0100 Subject: [PATCH 8/8] fix(docs): typo in README.md for ipFamilyPolicy #796 Signed-off-by: Roger Roger --- charts/nextcloud/Chart.yaml | 2 +- charts/nextcloud/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml index 738ce05d..81b664c0 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: nextcloud -version: 8.5.1 +version: 8.5.2 # renovate: image=docker.io/library/nextcloud appVersion: 32.0.1 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 b72b01af..a4dbb6d3 100644 --- a/charts/nextcloud/README.md +++ b/charts/nextcloud/README.md @@ -226,7 +226,7 @@ The following table lists the configurable parameters of the nextcloud chart and | `service.annotations` | Annotations for service type | `{}` | | `service.nodePort` | NodePort for service type NodePort | `nil` | | `service.ipFamilies` | Set ipFamilies as in k8s service objects | `nil` | -| `service.ipFamyPolicy` | define IP protocol bindings as in k8s service objects | `nil` | +| `service.ipFamilyPolicy` | define IP protocol bindings as in k8s service objects | `nil` | | `service.sessionAffinity` | Kubernetes service Session Affinity | `nil` | | `service.sessionAffinityConfig` | Kubernetes service Session Affinity configuration | `{}` | | `phpClientHttpsFix.enabled` | Sets OVERWRITEPROTOCOL for https ingress redirect | `false` |