From c4f69cf60b71a2eca14e31bc0d87ac7207e2edd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20ZGRZENDEK?= Date: Mon, 25 Nov 2024 21:51:00 +0100 Subject: [PATCH] Fixed bqd probes for test container --- .../redcap/templates/tests/test-connection.yaml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/charts/redcap/templates/tests/test-connection.yaml b/charts/redcap/templates/tests/test-connection.yaml index 93fcd64..0148fd7 100644 --- a/charts/redcap/templates/tests/test-connection.yaml +++ b/charts/redcap/templates/tests/test-connection.yaml @@ -12,14 +12,16 @@ spec: image: busybox:1.37-glibc command: ['wget'] args: ['{{ include "redcap.fullname" . }}:{{ .Values.service.redcap.port }}'] - livenessProbe: - httpGet: - path: / - port: http readinessProbe: - httpGet: - path: / - port: http + tcpSocket: + port: {{ ternary 1443 1080 .Values.httpd.tls.enabled }} + initialDelaySeconds: 5 + periodSeconds: 5 + livenessProbe: + tcpSocket: + port: {{ ternary 1443 1080 .Values.httpd.tls.enabled }} + initialDelaySeconds: 5 + periodSeconds: 5 resources: limits: cpu: 100m