2 # Copyright © 2022 Nordix Foundation
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 apiVersion: kafka.strimzi.io/v1beta2
19 name: {{ include "common.fullname" . }}
20 namespace: {{ include "common.namespace" . }}
22 app: {{ include "common.name" . }}
23 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
24 release: {{ include "common.release" . }}
25 heritage: {{ .Release.Service }}
28 version: {{ .Values.version }}
29 replicas: {{ .Values.replicaCount }}
32 port: {{ .Values.kafkaInternalPort }}
36 type: {{ .Values.saslMechanism }}
52 - {{ include "common.release" . }}-{{ .Values.kafkaStrimziAdminUser }}
59 offsets.topic.replication.factor: {{ .Values.replicaCount }}
60 transaction.state.log.replication.factor: {{ .Values.replicaCount }}
61 transaction.state.log.min.isr: 2
62 log.message.format.version: "3.0"
63 inter.broker.protocol.version: "3.0"
66 class: {{ include "common.storageClass" (dict "dot" . "suffix" "kafka" "persistenceInfos" .Values.persistenceKafka) }}
69 type: persistent-claim
70 size: {{ .Values.persistenceKafka.size }}
72 class: {{ include "common.storageClass" (dict "dot" . "suffix" "kafka" "persistenceInfos" .Values.persistenceKafka) }}
79 replicas: {{ .Values.replicaCount }}
81 ssl.hostnameVerification: false
83 type: persistent-claim
84 size: {{ .Values.persistenceZk.size }}
86 class: {{ include "common.storageClass" (dict "dot" . "suffix" "zk" "persistenceInfos" .Values.persistenceZk) }}