From 45a40691531f40317d6393c179fce6d21e1a07a9 Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Thu, 17 Feb 2022 15:08:37 -0300 Subject: [PATCH] Fix mailauth health check --- .../v0.1.0/templates/mailauth-deployment.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/charts/mailproxy/v0.1.0/templates/mailauth-deployment.yaml b/charts/mailproxy/v0.1.0/templates/mailauth-deployment.yaml index 8fe2fab..eae8b77 100644 --- a/charts/mailproxy/v0.1.0/templates/mailauth-deployment.yaml +++ b/charts/mailproxy/v0.1.0/templates/mailauth-deployment.yaml @@ -37,13 +37,15 @@ spec: protocol: {{ $port.protocol }} {{- end }} livenessProbe: - httpGet: - path: / + tcpSocket: port: {{ (index .Values.mailauth.service.ports 0).number }} + initialDelaySeconds: 5 + periodSeconds: 10 readinessProbe: - httpGet: - path: / + tcpSocket: port: {{ (index .Values.mailauth.service.ports 0).number }} + initialDelaySeconds: 5 + periodSeconds: 10 resources: {{- toYaml .Values.mailauth.resources | nindent 12 }} {{- with .Values.nodeSelector }}