From b9f52bd703234319477087b37bfc05b79913f7f8 Mon Sep 17 00:00:00 2001 From: sredny buitrago Date: Thu, 2 May 2024 19:24:57 -0400 Subject: [PATCH] deprecated healthcheck port and now use http port --- components/tyk-mdcb/templates/deployment-mdcb.yaml | 4 ++-- components/tyk-mdcb/values.yaml | 4 ++-- tyk-control-plane/values.yaml | 5 ++--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/components/tyk-mdcb/templates/deployment-mdcb.yaml b/components/tyk-mdcb/templates/deployment-mdcb.yaml index 7c0288bc..7613da55 100644 --- a/components/tyk-mdcb/templates/deployment-mdcb.yaml +++ b/components/tyk-mdcb/templates/deployment-mdcb.yaml @@ -81,8 +81,8 @@ spec: env: - name: TYK_MDCB_LISTENPORT value: "{{ .Values.mdcb.listenPort }}" - - name: TYK_MDCB_HEALTHCHECKPORT - value: "{{ .Values.mdcb.probes.healthCheckPort }}" + - name: TYK_MDCB_HTTPPORT + value: "{{ .Values.mdcb.probes.httpPort }}" - name: TYK_MDCB_STORAGE_TYPE value: "redis" - name: TYK_MDCB_STORAGE_ENABLECLUSTER diff --git a/components/tyk-mdcb/values.yaml b/components/tyk-mdcb/values.yaml index 014ea05f..7df67411 100644 --- a/components/tyk-mdcb/values.yaml +++ b/components/tyk-mdcb/values.yaml @@ -188,8 +188,8 @@ mdcb: probes: # This port lets MDCB allow standard health checks. # It also defines the path for liveness and readiness probes. - # It is used to set TYK_MDCB_HEALTHCHECKPORT - healthCheckPort: 8181 + # It is used to set TYK_MDCB_HTTPPORT + httpPort: 8181 # liveness includes details about liveness probe used in MDCB Deployment. liveness: # path represents the http path to be used in liveness probe in MDBC deployment. diff --git a/tyk-control-plane/values.yaml b/tyk-control-plane/values.yaml index cff80383..0a8b347b 100644 --- a/tyk-control-plane/values.yaml +++ b/tyk-control-plane/values.yaml @@ -1102,12 +1102,11 @@ tyk-mdcb: # If enabled, aggregate data will be generated per minute. storeAnalyticsPerMinute: true - probes: # This port lets MDCB allow standard health checks. # It also defines the path for liveness and readiness probes. - # It is used to set TYK_MDCB_HEALTHCHECKPORT - healthCheckPort: 8181 + # It is used to set TYK_MDCB_HTTPPORT + httpPort: 8181 # liveness includes details about liveness probe used in MDCB Deployment. liveness: # path represents the http path to be used in liveness probe in MDBC deployment.