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 Jan 1, 2025
1 parent fec058d commit 6bb955d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 8 deletions.
4 changes: 1 addition & 3 deletions components/tyk-pump/templates/deployment-pmp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,14 @@ spec:
{{- toYaml .Values.pump.containerSecurityContext | nindent 12 }}
{{- end }}

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

{{- if .Values.pump.readinessProbe }}
readinessProbe:
httpGet:
scheme: "HTTP"
Expand Down
2 changes: 1 addition & 1 deletion components/tyk-pump/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ pump:
enabled: false

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

# port sets the health check port.
# It defaults to 8083 if health check is enabled and it is not set.
Expand Down
2 changes: 1 addition & 1 deletion tyk-control-plane/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ tyk-pump:
enabled: false

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

# port sets the health check port.
# It defaults to 8083 if health check is enabled and it is not set.
Expand Down
2 changes: 1 addition & 1 deletion tyk-data-plane/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ tyk-pump:
enabled: false

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

# port sets the health check port.
# It defaults to 8083 if health check is enabled and it is not set.
Expand Down
2 changes: 1 addition & 1 deletion tyk-oss/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ tyk-pump:
enabled: false

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

# port sets the health check port.
# It defaults to 8083 if health check is enabled and it is not set.
Expand Down
2 changes: 1 addition & 1 deletion tyk-stack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ tyk-pump:

# Tyk Pump health service is disabled by default.
# Set it to true to enable it.
enabled: true
enabled: false

# path sets the health check path.
path: "hello"
Expand Down

0 comments on commit 6bb955d

Please sign in to comment.