[STRIMZI] Make Strimzi ServiceMesh compatible
[oom.git] / kubernetes / strimzi / templates / strimzi-kafka.yaml
index 4ca53a2..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:
@@ -68,7 +76,7 @@ spec:
       - id: 0
         type: persistent-claim
         size: {{ .Values.persistenceKafka.size }}
-        deleteClaim: false
+        deleteClaim: true
         class: {{ include "common.storageClass" (dict "dot" . "suffix" "kafka" "persistenceInfos" .Values.persistenceKafka) }}
   zookeeper:
     template:
@@ -79,10 +87,13 @@ spec:
     replicas: {{ .Values.replicaCount }}
     config:
       ssl.hostnameVerification: false
+      {{- if (include "common.onServiceMesh" .) }}
+      sslQuorum: false
+      {{- end }}
     storage:
       type: persistent-claim
       size: {{ .Values.persistenceZk.size }}
-      deleteClaim: false
+      deleteClaim: true
       class: {{ include "common.storageClass" (dict "dot" . "suffix" "zk" "persistenceInfos" .Values.persistenceZk) }}
   entityOperator:
     topicOperator: {}