@@ -16,27 +16,10 @@ kafka:
1616 - User:schema-registry
1717 - User:mm2
1818
19- config :
20- KAFKA_LISTENER_NAME_SASL_PLAINTEXT_PLAIN_SASL_JAAS_CONFIG : >-
21- org.apache.kafka.common.security.plain.PlainLoginModule required
22- username="admin"
23- password="admin-secret"
24- user_admin="admin-secret"
25- user_kafbat-ui="ui-secret"
26- user_schema-registry="schema-secret"
27- user_mm2="mm2-secret";
2819 jaas :
2920 enabled : true
30- config : |
31- KafkaServer {
32- org.apache.kafka.common.security.plain.PlainLoginModule required
33- username="admin"
34- password="admin-secret"
35- user_admin="admin-secret"
36- user_kafbat-ui="ui-secret"
37- user_schema-registry="schema-secret"
38- user_mm2="mm2-secret";
39- };
21+ existingSecret : kafka-auth
22+ existingSecretKey : kafka-server-jaas.conf
4023
4124 clusters :
4225 - name : primary
@@ -55,12 +38,18 @@ schemaRegistry:
5538 env :
5639 SCHEMA_REGISTRY_KAFKASTORE_SECURITY_PROTOCOL : SASL_PLAINTEXT
5740 SCHEMA_REGISTRY_KAFKASTORE_SASL_MECHANISM : PLAIN
58- SCHEMA_REGISTRY_KAFKASTORE_SASL_JAAS_CONFIG : >-
59- org.apache.kafka.common.security.plain.PlainLoginModule required
60- username="schema-registry"
61- password="schema-secret";
41+ extraEnv :
42+ - name : SCHEMA_REGISTRY_KAFKASTORE_SASL_JAAS_CONFIG
43+ valueFrom :
44+ secretKeyRef :
45+ name : kafka-auth
46+ key : schema-registry-jaas.conf
6247
6348kafbatUi :
49+ image :
50+ repository : ghcr.io/openprojectx/kafka-ui
51+ tag : latest
52+ pullPolicy : Always
6453 enabled : true
6554 autoClusters : true
6655 clusters : []
@@ -69,43 +58,49 @@ kafbatUi:
6958 env :
7059 KAFKA_CLUSTERS_0_PROPERTIES_SECURITY_PROTOCOL : SASL_PLAINTEXT
7160 KAFKA_CLUSTERS_0_PROPERTIES_SASL_MECHANISM : PLAIN
72- KAFKA_CLUSTERS_0_PROPERTIES_SASL_JAAS_CONFIG : >-
73- org.apache.kafka.common.security.plain.PlainLoginModule required
74- username="kafbat-ui"
75- password="ui-secret";
7661 KAFKA_CLUSTERS_1_PROPERTIES_SECURITY_PROTOCOL : SASL_PLAINTEXT
7762 KAFKA_CLUSTERS_1_PROPERTIES_SASL_MECHANISM : PLAIN
78- KAFKA_CLUSTERS_1_PROPERTIES_SASL_JAAS_CONFIG : >-
79- org.apache.kafka.common.security.plain.PlainLoginModule required
80- username="kafbat-ui"
81- password="ui-secret";
63+ extraEnv :
64+ - name : KAFKA_CLUSTERS_0_PROPERTIES_SASL_JAAS_CONFIG
65+ valueFrom :
66+ secretKeyRef :
67+ name : kafka-auth
68+ key : kafbat-ui-jaas.conf
69+ - name : KAFKA_CLUSTERS_1_PROPERTIES_SASL_JAAS_CONFIG
70+ valueFrom :
71+ secretKeyRef :
72+ name : kafka-auth
73+ key : kafbat-ui-jaas.conf
8274
8375topicInit :
8476 enabled : true
8577 kafkaCluster : primary
78+ commandConfigSecretExistingSecret : kafka-auth
79+ commandConfigSecretExistingSecretKey : client-secret.properties
8680 commandConfig : |
8781 security.protocol=SASL_PLAINTEXT
8882 sasl.mechanism=PLAIN
89- sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="admin" password="admin-secret";
9083
9184mirrorMaker :
9285 enabled : true
86+ secretPropertiesExistingSecret : kafka-mm2
87+ secretPropertiesExistingSecretKey : mm2-secret.properties
9388 properties : |
9489 clusters = primary, standby
95-
90+
9691 primary.bootstrap.servers = kafka-kafka-primary-0.kafka-kafka-primary-headless.kafka.svc.cluster.local:9092,kafka-kafka-primary-1.kafka-kafka-primary-headless.kafka.svc.cluster.local:9092
9792 standby.bootstrap.servers = kafka-kafka-standby-0.kafka-kafka-standby-headless.kafka.svc.cluster.local:9092,kafka-kafka-standby-1.kafka-kafka-standby-headless.kafka.svc.cluster.local:9092
98-
93+
9994 primary.security.protocol = SASL_PLAINTEXT
10095 primary.sasl.mechanism = PLAIN
101- primary.sasl.jaas.config = org.apache.kafka.common.security.plain.PlainLoginModule required username="mm2" password="mm2-secret";
102-
10396 standby.security.protocol = SASL_PLAINTEXT
10497 standby.sasl.mechanism = PLAIN
105- standby.sasl.jaas.config = org.apache.kafka.common.security.plain.PlainLoginModule required username="mm2" password="mm2-secret";
106-
98+
10799 primary->standby.enabled = true
108100 primary->standby.topics = .*
101+ replication.policy.class = org.apache.kafka.connect.mirror.IdentityReplicationPolicy
102+ refresh.topics.interval.seconds = 10
103+ sync.topic.configs.interval.seconds = 10
109104
110105 standby->primary.enabled = false
111106 standby->primary.topics = $^
0 commit comments