[CASSANDRA] Disable sync ports for Istio sidecar 19/135719/1
authorAndreas Geissler <andreas-geissler@telekom.de>
Thu, 10 Aug 2023 13:13:54 +0000 (15:13 +0200)
committerAndreas Geissler <andreas-geissler@telekom.de>
Thu, 10 Aug 2023 13:16:09 +0000 (15:16 +0200)
To enable the internal syncronization between Cassandra
instances, the ports 7000 and 7001 have to be excluded
in the Envoy Proxy

Issue-ID: OOM-3235

Change-Id: I8355f8e15f1e3796e8f910cba0ac54d4e05c78fd
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
kubernetes/common/common/templates/_cassOp.tpl

index d613342..c360a0f 100644 (file)
@@ -62,4 +62,10 @@ spec:
           name: {{ $datacenter.name }}
         size: {{ $datacenter.size }}
       {{- end }}
+    {{ if .Values.podAnnotations -}}
+    metadata:
+      pods:
+        annotations:
+          {{ toYaml .Values.podAnnotations | nindent 10 }}
+    {{- end }}
 {{ end }}