summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMicha? Jagie??o <michal.jagiello@t-mobile.pl>2023-10-24 12:18:45 +0000
committerGerrit Code Review <gerrit@onap.org>2023-10-24 12:18:45 +0000
commitfa2302b53d94406b2712b7ee4f24839f55f95a30 (patch)
treec2002aabc286f50b28c61638abe5a08749bdea63
parenteebb77d435b870f92e70a9d6bcd98953b02bdc32 (diff)
parent3d097d9008fb5f31772d8f1d4950380ace53e4b8 (diff)
Merge "[STRIMZI] Add option to disable auto creation of kafka topics"
-rw-r--r--kubernetes/strimzi/templates/strimzi-kafka.yaml1
-rw-r--r--kubernetes/strimzi/values.yaml1
2 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/strimzi/templates/strimzi-kafka.yaml b/kubernetes/strimzi/templates/strimzi-kafka.yaml
index 421d93a6cb..4071aa03a6 100644
--- a/kubernetes/strimzi/templates/strimzi-kafka.yaml
+++ b/kubernetes/strimzi/templates/strimzi-kafka.yaml
@@ -81,6 +81,7 @@ spec:
transaction.state.log.min.isr: {{ (eq 1.0 (.Values.replicaCount)) | ternary 1 (sub .Values.replicaCount 1) }}
log.message.format.version: {{ .Values.config.kafkaVersion }}
inter.broker.protocol.version: {{ .Values.config.kafkaVersion }}
+ auto.create.topics.enable: {{ .Values.config.autoCreateTopics }}
storage:
type: jbod
volumes:
diff --git a/kubernetes/strimzi/values.yaml b/kubernetes/strimzi/values.yaml
index 95422db91a..bb22de7ebd 100644
--- a/kubernetes/strimzi/values.yaml
+++ b/kubernetes/strimzi/values.yaml
@@ -39,6 +39,7 @@ config:
advertizedPortBroker0: &advertizedPortBroker0 9000
advertizedPortBroker1: &advertizedPortBroker1 9001
advertizedPortBroker2: &advertizedPortBroker2 9002
+ autoCreateTopics: true
persistence:
enabled: &pvenabled true