Browse Source

Fix mailauth health check

master
Fábio Kaiser Rauber 3 years ago
parent
commit
45a4069153
  1. 10
      charts/mailproxy/v0.1.0/templates/mailauth-deployment.yaml

10
charts/mailproxy/v0.1.0/templates/mailauth-deployment.yaml

@ -37,13 +37,15 @@ spec:
protocol: {{ $port.protocol }} protocol: {{ $port.protocol }}
{{- end }} {{- end }}
livenessProbe: livenessProbe:
httpGet: tcpSocket:
path: /
port: {{ (index .Values.mailauth.service.ports 0).number }} port: {{ (index .Values.mailauth.service.ports 0).number }}
initialDelaySeconds: 5
periodSeconds: 10
readinessProbe: readinessProbe:
httpGet: tcpSocket:
path: /
port: {{ (index .Values.mailauth.service.ports 0).number }} port: {{ (index .Values.mailauth.service.ports 0).number }}
initialDelaySeconds: 5
periodSeconds: 10
resources: resources:
{{- toYaml .Values.mailauth.resources | nindent 12 }} {{- toYaml .Values.mailauth.resources | nindent 12 }}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}

Loading…
Cancel
Save