-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TT-11901: expose Tyk-Pump health check route
- Loading branch information
1 parent
6a0e67b
commit b4a306b
Showing
8 changed files
with
181 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{{- if .Values.pump.service.healthEnabled -}} | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: pump-svc-health-{{ include "tyk-pump.fullname" . }} | ||
{{- if .Values.pump.service.annotations }} | ||
{{ toYaml .Values.pump.service.annotations }} | ||
{{- end }} | ||
labels: | ||
app: pump-svc-{{ include "tyk-pump.fullname" . }} | ||
chart: {{ include "tyk-pump.chart" . }} | ||
release: {{ .Release.Name }} | ||
heritage: {{ .Release.Service }} | ||
spec: | ||
ports: | ||
- port: {{ .Values.pump.service.healthEndpointPort | default 8083 }} | ||
targetPort: {{ .Values.pump.service.healthEndpointPort | default 8083 }} | ||
protocol: TCP | ||
name: {{ default "http" .Values.pump.service.portName | quote }} | ||
type: {{ .Values.pump.service.type }} | ||
{{- if eq .Values.pump.service.type "LoadBalancer" }} | ||
externalTrafficPolicy: {{ .Values.pump.service.externalTrafficPolicy }} | ||
{{- end }} | ||
selector: | ||
app: pump-{{ include "tyk-pump.fullname" . }} | ||
release: {{ .Release.Name }} | ||
{{- end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,4 @@ spec: | |
selector: | ||
app: pump-{{ include "tyk-pump.fullname" . }} | ||
release: {{ .Release.Name }} | ||
{{- end}} | ||
{{- end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters