Skip to content

Commit b12c2e5

Browse files
authored
Minor: fix MM2 TLS example (#12160)
Signed-off-by: Federico Valeri <fedevaleri@gmail.com>
1 parent 3c885c7 commit b12c2e5

3 files changed

Lines changed: 12 additions & 9 deletions

File tree

packaging/examples/mirror-maker/kafka-mirror-maker-2-tls.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ spec:
2525
- source:
2626
alias: cluster-a
2727
bootstrapServers: cluster-a-kafka-bootstrap:9093
28-
trustedCertificates:
29-
- secretName: cluster-a-cluster-ca-cert
30-
pattern: "*.crt"
28+
tls:
29+
trustedCertificates:
30+
- secretName: cluster-a-cluster-ca-cert
31+
pattern: "*.crt"
3132
sourceConnector:
3233
tasksMax: 1
3334
config:

packaging/examples/security/scram-sha-512-auth/mirror-maker-2.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,10 @@ spec:
252252
- source:
253253
alias: cluster-a
254254
bootstrapServers: cluster-a-kafka-bootstrap:9093
255-
trustedCertificates:
256-
- secretName: cluster-a-cluster-ca-cert
257-
pattern: "*.crt"
255+
tls:
256+
trustedCertificates:
257+
- secretName: cluster-a-cluster-ca-cert
258+
pattern: "*.crt"
258259
authentication:
259260
type: scram-sha-512
260261
username: cluster-a-user

packaging/examples/security/tls-auth/mirror-maker-2.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,10 @@ spec:
243243
- source:
244244
alias: cluster-a
245245
bootstrapServers: cluster-a-kafka-bootstrap:9093
246-
trustedCertificates:
247-
- secretName: cluster-a-cluster-ca-cert
248-
pattern: "*.crt"
246+
tls:
247+
trustedCertificates:
248+
- secretName: cluster-a-cluster-ca-cert
249+
pattern: "*.crt"
249250
authentication:
250251
type: tls
251252
certificateAndKey:

0 commit comments

Comments
 (0)