Skip to content

Commit

Permalink
Remove check for v3 from gateway probes (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
komalsukhani authored Jul 3, 2024
1 parent 3950f50 commit 41a7c9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/tyk-gateway/templates/deployment-gw-repset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ spec:
httpGet:
scheme: "HTTP{{ if .Values.global.tls.gateway }}S{{ end }}"
path: /hello
{{- if and .Values.gateway.control.enabled (or (semverCompare ">= 3.2.0" (include "tyk-gateway.gateway-version" . )) (semverCompare ">=3.0.4 < 3.1.0" (include "tyk-gateway.gateway-version" .))) }}
{{- if and .Values.gateway.control.enabled }}
port: {{ .Values.gateway.control.containerPort }}
{{- else }}
port: {{ .Values.gateway.containerPort }}
Expand All @@ -431,7 +431,7 @@ spec:
httpGet:
scheme: "HTTP{{ if .Values.global.tls.gateway }}S{{ end }}"
path: /hello
{{- if and .Values.gateway.control.enabled (or (semverCompare ">= 3.2.0" (include "tyk-gateway.gateway-version" . )) (semverCompare ">=3.0.4 < 3.1.0" (include "tyk-gateway.gateway-version" .))) }}
{{- if and .Values.gateway.control.enabled }}
port: {{ .Values.gateway.control.containerPort }}
{{- else }}
port: {{ .Values.gateway.containerPort }}
Expand Down

0 comments on commit 41a7c9c

Please sign in to comment.