[COMMON][MARIABD] Fix MariaDB ServiceMesh compatibility 33/129833/2
authorAndreas Geissler <andreas-geissler@telekom.de>
Fri, 8 Jul 2022 07:09:00 +0000 (09:09 +0200)
committerFiachra Corcoran <fiachra.corcoran@est.tech>
Fri, 8 Jul 2022 12:02:49 +0000 (12:02 +0000)
Update the pod annotations to exclude the cluster communication
ports from the SM sidecars.
Fix mysql protocol setup fodddr istio and update mariadb-init job
to support istio sidecar communication.
This is separated from a patch for CDS SM compatibility

Issue-ID: OOM-2820

Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Change-Id: I9e839e019c948614fea7d4b3b5930270f7e7a7c6

kubernetes/common/mariadb-galera/values.yaml

index d719fb3..e9fe577 100644 (file)
@@ -384,8 +384,9 @@ updateStrategy:
 ##
 podAnnotations:
   #  sidecar.istio.io/inject: "false"
-  traffic.sidecar.istio.io/excludeInboundPorts: "4568"
+  traffic.sidecar.istio.io/excludeInboundPorts: "4444,4567,4568"
   traffic.sidecar.istio.io/includeInboundPorts: '*'
+  traffic.sidecar.istio.io/excludeOutboundPorts: "4444,4567,4568"
 
 ## Pod affinity preset
 ## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity