Skip to content

Commit

Permalink
TT-11901: move health check condition
Browse files Browse the repository at this point in the history
  • Loading branch information
olamilekan000 committed Dec 31, 2024
1 parent fec058d commit 25f5869
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/tyk-pump/templates/deployment-pmp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,21 +60,21 @@ spec:
{{- toYaml .Values.pump.containerSecurityContext | nindent 12 }}
{{- end }}

{{- if .Values.pump.livenessProbe }}
livenessProbe:
httpGet:
scheme: "HTTP"
path: /{{ .Values.pump.healthCheckService.path }}
port: {{ .Values.pump.healthCheckService.port }}
{{- if .Values.pump.livenessProbe }}
{{- toYaml .Values.pump.livenessProbe | nindent 10 }}
{{- end }}

{{- if .Values.pump.readinessProbe }}
readinessProbe:
httpGet:
scheme: "HTTP"
path: /{{ .Values.pump.healthCheckService.path }}
port: {{ .Values.pump.healthCheckService.port }}
{{- if .Values.pump.readinessProbe }}
{{- toYaml .Values.pump.readinessProbe | nindent 10 }}
{{- end }}

Expand Down

0 comments on commit 25f5869

Please # to comment.