Skip to content

Commit 67a8f2e

Browse files
committed
Allow probe checks to use containerPort if specified
Signed-off-by: Rick Elrod <rick@elrod.me>
1 parent da174ec commit 67a8f2e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

charts/nextcloud/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: nextcloud
3-
version: 3.3.3
3+
version: 3.3.4
44
appVersion: 25.0.1
55
description: A file sharing server that puts the control and security of your own data back into your hands.
66
keywords:

charts/nextcloud/templates/deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ spec:
8383
livenessProbe:
8484
httpGet:
8585
path: /status.php
86-
port: http
86+
port: {{ .Values.nextcloud.containerPort | default "http" }}
8787
httpHeaders:
8888
- name: Host
8989
value: {{ .Values.nextcloud.host | quote }}
@@ -97,7 +97,7 @@ spec:
9797
readinessProbe:
9898
httpGet:
9999
path: /status.php
100-
port: http
100+
port: {{ .Values.nextcloud.containerPort | default "http" }}
101101
httpHeaders:
102102
- name: Host
103103
value: {{ .Values.nextcloud.host | quote }}
@@ -111,7 +111,7 @@ spec:
111111
startupProbe:
112112
httpGet:
113113
path: /status.php
114-
port: http
114+
port: {{ .Values.nextcloud.containerPort | default "http" }}
115115
httpHeaders:
116116
- name: Host
117117
value: {{ .Values.nextcloud.host | quote }}

0 commit comments

Comments
 (0)