From cc4bdfa223b36617f005d64bf40e30edb45aea2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?He=C3=B0in=20Ejdesgaard?= Date: Mon, 27 Apr 2026 20:02:20 +0200 Subject: [PATCH 1/2] Making use of .nginx.containerPort when fpm is enabled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Heðin Ejdesgaard --- charts/nextcloud/templates/deployment.yaml | 8 ++++---- charts/nextcloud/templates/service.yaml | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/charts/nextcloud/templates/deployment.yaml b/charts/nextcloud/templates/deployment.yaml index aaebfe6c..a099a018 100644 --- a/charts/nextcloud/templates/deployment.yaml +++ b/charts/nextcloud/templates/deployment.yaml @@ -150,13 +150,13 @@ spec: ports: - name: http protocol: TCP - containerPort: {{ .Values.nextcloud.containerPort }} + containerPort: {{ .Values.nginx.containerPort }} {{- with .Values.livenessProbe }} {{- if .enabled }} livenessProbe: httpGet: path: /status.php - port: {{ $.Values.nextcloud.containerPort }} + port: {{ $.Values.nginx.containerPort }} httpHeaders: - name: Host value: {{ $.Values.nextcloud.host | quote }} @@ -172,7 +172,7 @@ spec: readinessProbe: httpGet: path: /status.php - port: {{ $.Values.nextcloud.containerPort }} + port: {{ $.Values.nginx.containerPort }} httpHeaders: - name: Host value: {{ $.Values.nextcloud.host | quote }} @@ -188,7 +188,7 @@ spec: startupProbe: httpGet: path: /status.php - port: {{ $.Values.nextcloud.containerPort }} + port: {{ $.Values.nginx.containerPort }} httpHeaders: - name: Host value: {{ $.Values.nextcloud.host | quote }} diff --git a/charts/nextcloud/templates/service.yaml b/charts/nextcloud/templates/service.yaml index 003ac35b..b02adf7e 100644 --- a/charts/nextcloud/templates/service.yaml +++ b/charts/nextcloud/templates/service.yaml @@ -34,7 +34,11 @@ spec: ports: - name: http port: {{ .Values.service.port }} + {{- if .Values.nginx.enabled }} + targetPort: {{ .Values.nginx.containerPort }} + {{- else }} targetPort: {{ .Values.nextcloud.containerPort }} + {{- end }} protocol: TCP {{- with .Values.service.nodePort }} nodePort: {{ . }} From 0d4964a8e4c47533829c660c59c2533e2607d75a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?He=C3=B0in=20Ejdesgaard?= Date: Tue, 28 Apr 2026 09:23:27 +0200 Subject: [PATCH 2/2] bumped Chart version to z+1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Heðin Ejdesgaard --- 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 bd1a1c4f..fe7adc78 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: nextcloud -version: 9.0.5 +version: 9.0.6 # renovate: image=docker.io/library/nextcloud appVersion: 33.0.2 description: A file sharing server that puts the control and security of your own data back into your hands.