From 67a1b85d64481f832a09a8a4f14e346e409bc8e0 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 1/2] feat(nextcloud): allow imagePullSecrets for cronjob #781 Signed-off-by: Txomin Itoiz Signed-off-by: Josef Hofer --- 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 f9cecd4962e2d3f3792791b9c5ddd619c0b36dca Mon Sep 17 00:00:00 2001 From: Josef Hofer Date: Mon, 6 Oct 2025 12:07:09 +0200 Subject: [PATCH 2/2] fix(nextcloud): cronjob not working with no $.Values.podLabels set 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 6d5bc1b9..099c0414 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.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 991efb9f..1ff9c11b 100644 --- a/charts/nextcloud/values.yaml +++ b/charts/nextcloud/values.yaml @@ -12,6 +12,7 @@ image: nameOverride: "" fullnameOverride: "" podAnnotations: {} +podLabels: {} deploymentAnnotations: {} deploymentLabels: {}