diff --git a/components/tyk-gateway/templates/deployment-gw-repset.yaml b/components/tyk-gateway/templates/deployment-gw-repset.yaml index 095f8ee5..e5ee7ab0 100644 --- a/components/tyk-gateway/templates/deployment-gw-repset.yaml +++ b/components/tyk-gateway/templates/deployment-gw-repset.yaml @@ -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 }} @@ -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 }}