[STRIMZI] Make Strimzi ServiceMesh compatible
[oom.git] / kubernetes / strimzi / templates / strimzi-kafka.yaml
index cfd2ef1..a2d2c4d 100644 (file)
@@ -46,6 +46,14 @@ spec:
         tls: true
         authentication:
           type: tls
+        configuration:
+          bootstrap:
+            nodePort: {{ .Values.global.nodePortPrefixExt }}91
+          brokers:
+            - broker: 0
+              nodePort: {{ .Values.global.nodePortPrefixExt }}92
+            - broker: 1
+              nodePort: {{ .Values.global.nodePortPrefixExt }}93
     authorization:
       type: simple
       superUsers:
@@ -79,6 +87,9 @@ spec:
     replicas: {{ .Values.replicaCount }}
     config:
       ssl.hostnameVerification: false
+      {{- if (include "common.onServiceMesh" .) }}
+      sslQuorum: false
+      {{- end }}
     storage:
       type: persistent-claim
       size: {{ .Values.persistenceZk.size }}