From baf35a96bbb6db0bdc40e92f456b9cfcb4af1e24 Mon Sep 17 00:00:00 2001 From: sapslaj Date: Wed, 22 Jul 2026 17:50:39 -0400 Subject: [PATCH 1/2] fix: nil pointer when evaluating when cronjob.enabled=true The `if` block checking if Redis is enabled needs to be anchored correctly since we are inside a `with` block (`with .Values.cronjob.sidecar`). Otherwise you get an error: ``` Error: nextcloud/templates/deployment.yaml:274:26 executing "nextcloud/templates/deployment.yaml" at <.Values.redis.enabled>: nil pointer evaluating interface {}.redis ``` Signed-off-by: sapslaj --- charts/nextcloud/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/nextcloud/templates/deployment.yaml b/charts/nextcloud/templates/deployment.yaml index 9a714405..ab2ddc3e 100644 --- a/charts/nextcloud/templates/deployment.yaml +++ b/charts/nextcloud/templates/deployment.yaml @@ -271,7 +271,7 @@ spec: {{- toYaml . | nindent 12 }} {{- end }} volumeMounts: - {{- if .Values.redis.enabled }} + {{- if $.Values.redis.enabled }} - name: php-confd mountPath: "/usr/local/etc/php/conf.d/redis-session.ini" # fix permission denied error subPath: redis-session.ini From 5b2bd61abd5db7e41d5ee06237904ea9617f6b4d Mon Sep 17 00:00:00 2001 From: sapslaj Date: Wed, 22 Jul 2026 17:57:26 -0400 Subject: [PATCH 2/2] chore: bump Chart.yaml Signed-off-by: sapslaj --- 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 a77f9a9f..7ecdeebf 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: nextcloud -version: 9.2.3 +version: 9.2.4 # renovate: image=docker.io/library/nextcloud appVersion: 34.0.1 description: A file sharing server that puts the control and security of your own data back into your hands.