Skip to content

Commit 6bb955d

Browse files
committed
TT-11901: move health check condition
1 parent fec058d commit 6bb955d

File tree

6 files changed

+6
-8
lines changed

6 files changed

+6
-8
lines changed

components/tyk-pump/templates/deployment-pmp.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,14 @@ spec:
6060
{{- toYaml .Values.pump.containerSecurityContext | nindent 12 }}
6161
{{- end }}
6262

63-
{{- if .Values.pump.livenessProbe }}
63+
{{- if .Values.pump.healthCheckService.enabled }}
6464
livenessProbe:
6565
httpGet:
6666
scheme: "HTTP"
6767
path: /{{ .Values.pump.healthCheckService.path }}
6868
port: {{ .Values.pump.healthCheckService.port }}
6969
{{- toYaml .Values.pump.livenessProbe | nindent 10 }}
70-
{{- end }}
7170

72-
{{- if .Values.pump.readinessProbe }}
7371
readinessProbe:
7472
httpGet:
7573
scheme: "HTTP"

components/tyk-pump/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ pump:
231231
enabled: false
232232

233233
# path sets the health check path.
234-
path: ""
234+
path: "hello"
235235

236236
# port sets the health check port.
237237
# It defaults to 8083 if health check is enabled and it is not set.

tyk-control-plane/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ tyk-pump:
759759
enabled: false
760760

761761
# path sets the health check path.
762-
path: ""
762+
path: "hello"
763763

764764
# port sets the health check port.
765765
# It defaults to 8083 if health check is enabled and it is not set.

tyk-data-plane/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ tyk-pump:
640640
enabled: false
641641

642642
# path sets the health check path.
643-
path: ""
643+
path: "hello"
644644

645645
# port sets the health check port.
646646
# It defaults to 8083 if health check is enabled and it is not set.

tyk-oss/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ tyk-pump:
681681
enabled: false
682682

683683
# path sets the health check path.
684-
path: ""
684+
path: "hello"
685685

686686
# port sets the health check port.
687687
# It defaults to 8083 if health check is enabled and it is not set.

tyk-stack/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ tyk-pump:
774774

775775
# Tyk Pump health service is disabled by default.
776776
# Set it to true to enable it.
777-
enabled: true
777+
enabled: false
778778

779779
# path sets the health check path.
780780
path: "hello"

0 commit comments

Comments
 (0)