From 769fa6dd65327b26f1122e65a4349fe9c8980912 Mon Sep 17 00:00:00 2001 From: Rick Elrod Date: Sat, 26 Nov 2022 23:43:18 -0600 Subject: [PATCH] Allow probe checks to use containerPort if specified Signed-off-by: Rick Elrod --- charts/nextcloud/Chart.yaml | 2 +- charts/nextcloud/templates/deployment.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/charts/nextcloud/Chart.yaml b/charts/nextcloud/Chart.yaml index cfe7c16c..7e87c722 100644 --- a/charts/nextcloud/Chart.yaml +++ b/charts/nextcloud/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: nextcloud -version: 3.3.3 +version: 3.3.4 appVersion: 25.0.1 description: A file sharing server that puts the control and security of your own data back into your hands. keywords: diff --git a/charts/nextcloud/templates/deployment.yaml b/charts/nextcloud/templates/deployment.yaml index f5d6b65a..c5bb2fd9 100644 --- a/charts/nextcloud/templates/deployment.yaml +++ b/charts/nextcloud/templates/deployment.yaml @@ -83,7 +83,7 @@ spec: livenessProbe: httpGet: path: /status.php - port: http + port: {{ .Values.nextcloud.containerPort | default "http" }} httpHeaders: - name: Host value: {{ .Values.nextcloud.host | quote }} @@ -97,7 +97,7 @@ spec: readinessProbe: httpGet: path: /status.php - port: http + port: {{ .Values.nextcloud.containerPort | default "http" }} httpHeaders: - name: Host value: {{ .Values.nextcloud.host | quote }} @@ -111,7 +111,7 @@ spec: startupProbe: httpGet: path: /status.php - port: http + port: {{ .Values.nextcloud.containerPort | default "http" }} httpHeaders: - name: Host value: {{ .Values.nextcloud.host | quote }} @@ -165,7 +165,7 @@ spec: livenessProbe: httpGet: path: /status.php - port: http + port: {{ .Values.nextcloud.containerPort | default "http" }} httpHeaders: - name: Host value: {{ .Values.nextcloud.host | quote }} @@ -179,7 +179,7 @@ spec: readinessProbe: httpGet: path: /status.php - port: http + port: {{ .Values.nextcloud.containerPort | default "http" }} httpHeaders: - name: Host value: {{ .Values.nextcloud.host | quote }}