[MARIADB] Set mTLS mode to STRICT to solve mysql connection issues 06/136106/1
authorAndreas Geissler <andreas-geissler@telekom.de>
Thu, 5 Oct 2023 13:10:34 +0000 (15:10 +0200)
committerAndreas Geissler <andreas-geissler@telekom.de>
Thu, 5 Oct 2023 13:14:39 +0000 (15:14 +0200)
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 <andreas-geissler@telekom.de>
kubernetes/common/mariadb-galera/templates/service.yaml

index 4cabde1..2dea4e9 100644 (file)
@@ -34,6 +34,6 @@ spec:
       app: {{ include "common.servicename" . }}
   portLevelMtls:
     '{{ .Values.service.internalPort }}':
-      mode: DISABLE
+      mode: STRICT
 {{-   end }}
 {{- end }}