From 25f5869b7960cfe75474ab0c545a7840117eb0ce Mon Sep 17 00:00:00 2001 From: olalekan odukoya Date: Tue, 31 Dec 2024 14:02:43 +0100 Subject: [PATCH] TT-11901: move health check condition --- components/tyk-pump/templates/deployment-pmp.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/tyk-pump/templates/deployment-pmp.yaml b/components/tyk-pump/templates/deployment-pmp.yaml index 5e4eda71..78d9237d 100644 --- a/components/tyk-pump/templates/deployment-pmp.yaml +++ b/components/tyk-pump/templates/deployment-pmp.yaml @@ -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 }}