From 5faef933c24e27e439bd109c29a0278f43e95968 Mon Sep 17 00:00:00 2001 From: Andreas Geissler Date: Thu, 5 Oct 2023 15:10:34 +0200 Subject: [PATCH] [MARIADB] Set mTLS mode to STRICT to solve mysql connection issues The DISABLE setting for mysql ports lead to failing mysql connections therefor STRICT is used to fix initial connections see (https://istio.io/latest/about/faq/#mysql-with-mtls) Issue-ID: OOM-3236 Change-Id: I56c34400dc73c71b936a51260efd776349adaeae Signed-off-by: Andreas Geissler --- kubernetes/common/mariadb-galera/templates/service.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubernetes/common/mariadb-galera/templates/service.yaml b/kubernetes/common/mariadb-galera/templates/service.yaml index 4cabde1e4d..2dea4e9ac1 100644 --- a/kubernetes/common/mariadb-galera/templates/service.yaml +++ b/kubernetes/common/mariadb-galera/templates/service.yaml @@ -34,6 +34,6 @@ spec: app: {{ include "common.servicename" . }} portLevelMtls: '{{ .Values.service.internalPort }}': - mode: DISABLE + mode: STRICT {{- end }} {{- end }} -- 2.16.6