Browse Source

Fix probes

master
Fábio Kaiser Rauber 3 years ago
parent
commit
f6661f0eb6
  1. 4
      charts/mailproxy/v0.1.0/templates/mailauth-deployment.yaml
  2. 2
      charts/mailproxy/v0.1.0/templates/nginx-deployment.yaml

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

@ -39,11 +39,11 @@ spec:
livenessProbe: livenessProbe:
httpGet: httpGet:
path: / path: /
port: http port: {{ (index .Values.mailauth.service.ports 0).number }}
readinessProbe: readinessProbe:
httpGet: httpGet:
path: / path: /
port: http port: {{ (index .Values.mailauth.service.ports 0).number }}
resources: resources:
{{- toYaml .Values.mailauth.resources | nindent 12 }} {{- toYaml .Values.mailauth.resources | nindent 12 }}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}

2
charts/mailproxy/v0.1.0/templates/nginx-deployment.yaml

@ -42,7 +42,7 @@ spec:
port: http port: http
readinessProbe: readinessProbe:
tcpSocket: tcpSocket:
port: 993 port: {{ (index .Values.nginx.service.ports 0).number }}
initialDelaySeconds: 10 initialDelaySeconds: 10
periodSeconds: 15 periodSeconds: 15
volumeMounts: volumeMounts:

Loading…
Cancel
Save