From f6661f0eb64c94bed4a83379c43143e856e81efb Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Thu, 17 Feb 2022 15:03:15 -0300 Subject: [PATCH] Fix probes --- charts/mailproxy/v0.1.0/templates/mailauth-deployment.yaml | 4 ++-- charts/mailproxy/v0.1.0/templates/nginx-deployment.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/mailproxy/v0.1.0/templates/mailauth-deployment.yaml b/charts/mailproxy/v0.1.0/templates/mailauth-deployment.yaml index 5875977..8fe2fab 100644 --- a/charts/mailproxy/v0.1.0/templates/mailauth-deployment.yaml +++ b/charts/mailproxy/v0.1.0/templates/mailauth-deployment.yaml @@ -39,11 +39,11 @@ spec: livenessProbe: httpGet: path: / - port: http + port: {{ (index .Values.mailauth.service.ports 0).number }} readinessProbe: httpGet: path: / - port: http + port: {{ (index .Values.mailauth.service.ports 0).number }} resources: {{- toYaml .Values.mailauth.resources | nindent 12 }} {{- with .Values.nodeSelector }} diff --git a/charts/mailproxy/v0.1.0/templates/nginx-deployment.yaml b/charts/mailproxy/v0.1.0/templates/nginx-deployment.yaml index c4cfe70..ab13f1d 100644 --- a/charts/mailproxy/v0.1.0/templates/nginx-deployment.yaml +++ b/charts/mailproxy/v0.1.0/templates/nginx-deployment.yaml @@ -42,7 +42,7 @@ spec: port: http readinessProbe: tcpSocket: - port: 993 + port: {{ (index .Values.nginx.service.ports 0).number }} initialDelaySeconds: 10 periodSeconds: 15 volumeMounts: