-
Notifications
You must be signed in to change notification settings - Fork 242
/
Copy pathclusterlink_v1beta1.json
724 lines (724 loc) · 34.5 KB
/
clusterlink_v1beta1.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
{
"description": "ClusterLink is the schema for the ClusterLink API.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"description": "spec defines the desired state of the cluster link.",
"properties": {
"aclFilters": {
"description": "aclFilters specify the list of ACLs to be migrated from the source cluster to the destination cluster.",
"items": {
"description": "AclFilter defines the configuration for the ACLs filter. This follows the same pattern as defined in the cluster linking documentation. More info: https://docs.confluent.io/platform/current/multi-dc-deployments/cluster-linking/security.html#cluster-link-acls-migrate",
"properties": {
"accessFilter": {
"description": "AclSyncAccessFilter defines the access filter for ACLs.",
"properties": {
"host": {
"description": "host is the host for which operations can be coming from. The default value is `*` that matches all hosts.",
"type": "string"
},
"operation": {
"description": "operation specifies the operation type of the filter. It can be `ANY` or operations based on resource type defined in the following Confluent documentation: https://docs.confluent.io/platform/current/kafka/authorization.html#acl-operations",
"type": "string"
},
"permissionType": {
"description": "permissionType is the permission type of the filter. Valid options are `any`, `allow`, and `deny`.",
"enum": [
"any",
"allow",
"deny"
],
"type": "string"
},
"principal": {
"description": "principal is the name of the principal. The default value is `*`.",
"type": "string"
}
},
"required": [
"operation",
"permissionType"
],
"type": "object",
"additionalProperties": false
},
"resourceFilter": {
"description": "AclSyncResourceFilter specifies the resource filter for ACLs.",
"properties": {
"name": {
"description": "name is the name of the resource associated with this filter. The default value is `*`.",
"type": "string"
},
"patternType": {
"description": "patternType is the pattern of the resource. Valid options are `prefixed`, `literal`, `any`, and `match`.",
"enum": [
"prefixed",
"literal",
"any",
"match"
],
"type": "string"
},
"resourceType": {
"description": "resourceType is the type of the filter. Valid options are `any`, `cluster`, `group`, `topic`, `transactionId`, and `delegationToken`.",
"enum": [
"any",
"cluster",
"group",
"topic",
"transcationId",
"delegationToken"
],
"type": "string"
}
},
"required": [
"patternType",
"resourceType"
],
"type": "object",
"additionalProperties": false
}
},
"required": [
"accessFilter",
"resourceFilter"
],
"type": "object",
"additionalProperties": false
},
"type": "array"
},
"configs": {
"additionalProperties": {
"type": "string"
},
"description": "configs is a map of string key and value pairs. It specifies additional configurations for the cluster link. More info: https://docs.confluent.io/platform/current/multi-dc-deployments/cluster-linking/configs.html",
"type": "object",
"x-kubernetes-map-type": "granular"
},
"consumerGroupFilters": {
"description": "consumerGroupFilters specify a list of consumer groups to be migrated from the source cluster to the destination cluster.",
"items": {
"description": "ClusterLinkOptionsFilter defines the scheme for a filter",
"properties": {
"filterType": {
"description": "filterType specifies the filter type. Valid options are `INCLUDE` and `EXCLUDE`.",
"enum": [
"INCLUDE",
"EXCLUDE"
],
"type": "string"
},
"name": {
"description": "name is the resource name associated with this filter.",
"type": "string"
},
"patternType": {
"description": "patternType is the pattern of the resource. Valid options are `PREFIXED` and `LITERAL`.",
"enum": [
"PREFIXED",
"LITERAL"
],
"type": "string"
}
},
"required": [
"filterType",
"name",
"patternType"
],
"type": "object",
"additionalProperties": false
},
"type": "array"
},
"destinationKafkaCluster": {
"description": "destinationKafkaCluster specifies the destination Kafka cluster and its REST API configuration.",
"properties": {
"authentication": {
"description": "authentication specifies the authentication for the Kafka cluster.",
"properties": {
"jaasConfig": {
"description": "jaasConfig specifies the Kafka client-side JaaS configuration.",
"properties": {
"secretRef": {
"description": "secretRef references the secret containing the required credentials. More info: https://docs.confluent.io/operator/current/co-authenticate.html",
"maxLength": 30,
"minLength": 1,
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
"type": "string"
}
},
"required": [
"secretRef"
],
"type": "object",
"additionalProperties": false
},
"jaasConfigPassThrough": {
"description": "jaasConfigPassThrough specifies another way to provide the Kafka client-side JaaS configuration.",
"properties": {
"directoryPathInContainer": {
"description": "directoryPathInContainer specifies the directory path in the container where required credentials are mounted. More info: https://docs.confluent.io/operator/current/co-authenticate.html",
"minLength": 1,
"type": "string"
},
"secretRef": {
"description": "secretRef references the secret containing the required credentials for authentication. More info: https://docs.confluent.io/operator/current/co-authenticate.html",
"maxLength": 30,
"minLength": 1,
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"oauthbearer": {
"description": "oauthbearer is the authentication mechanism to provider principals. Only supported in RBAC deployment.",
"properties": {
"directoryPathInContainer": {
"description": "directoryPathInContainer specifies the directory path in the container where the credential is mounted.",
"minLength": 1,
"type": "string"
},
"secretRef": {
"description": "secretRef specifies the name of the secret that contains the credential. More info: https://docs.confluent.io/operator/current/co-authenticate.html#bearer-authentication",
"maxLength": 30,
"minLength": 1,
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"type": {
"description": "type specifies the Kafka client authentication type. Valid options are `plain`, `oauthbearer`, `digest`, and `mtls`.",
"enum": [
"plain",
"oauthbearer",
"digest",
"mtls"
],
"type": "string"
}
},
"required": [
"type"
],
"type": "object",
"additionalProperties": false
},
"bootstrapEndpoint": {
"description": "bootstrapEndpoint specifies the bootstrap endpoint for the Kafka cluster. When `spec.sourceInitiatedLink.linkMode` is configured as `Source`, this is required for `spec.destinationKafkaCluster` and not required for `spec.sourceKafkaCluster`. For other cluster links this is required for `spec.sourceKafkaCluster` and not required for `spec.destinationKafkaCluster`.",
"minLength": 1,
"pattern": ".+:[0-9]+",
"type": "string"
},
"clusterID": {
"description": "clusterID specifies the id of the Kafka cluster. If clusterID is defined for the Kafka cluster, it takes precedence over using the REST API for getting the cluster ID.",
"minLength": 1,
"type": "string"
},
"kafkaRestClassRef": {
"description": "kafkaRestClassRef references the KafkaRestClass application resource which defines the Kafka REST API connection information. When `spec.sourceInitiatedLink.linkMode` is configured as `Source`, this is required for `spec.sourceKafkaCluster` and optional for `spec.destinationKafkaCluster` if `spec.clusterID` is set. For other cluster links this is required for 'spec.destinationKafkaCluster` and optional for `spec.sourceKafkaCluster` if the `spec.clusterID` is set.",
"properties": {
"name": {
"description": "name specifies the name of the KafkaRestClass application resource.",
"minLength": 1,
"type": "string"
},
"namespace": {
"description": "namespace specifies the namespace of the KafkaRestClass.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object",
"additionalProperties": false
},
"tls": {
"description": "tls specifies the client-side TLS configuration for the Kafka cluster.",
"properties": {
"directoryPathInContainer": {
"description": "directoryPathInContainer contains the directory path in the container where `fullchain.pem`, `privkey.pem`, `cacerts.pem` or `tls.crt`, `tls.key`, `ca.crt` keys are mounted.",
"minLength": 1,
"type": "string"
},
"enabled": {
"description": "enabled specifies whether to enable the TLS configuration for the cluster link. The default value is `false`.",
"type": "boolean"
},
"keyPassword": {
"description": "keyPassword references the secret containing the SSL key password if the private key passed in the secretRef above is encrypted.",
"properties": {
"secretRef": {
"description": "secretRef references the name of the secret containing the JKS password. More info: https://docs.confluent.io/operator/current/co-network-encryption.html#configure-user-provided-tls-certificates",
"maxLength": 30,
"minLength": 1,
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
"type": "string"
}
},
"required": [
"secretRef"
],
"type": "object",
"additionalProperties": false
},
"secretRef": {
"description": "secretRef references the secret containing the certificates. More info: https://docs.confluent.io/operator/current/co-network-encryption.html",
"maxLength": 63,
"minLength": 1,
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
"type": "string"
}
},
"required": [
"enabled"
],
"type": "object",
"additionalProperties": false
}
},
"type": "object",
"additionalProperties": false
},
"mirrorTopicOptions": {
"description": "mirrorTopicOptions specify configuration options for mirror topics.",
"properties": {
"autoCreateTopics": {
"description": "autoCreateTopics specifies configurations for the cluster link to automatically create mirror topics on the destination cluster for topics that exist on the source cluster based on defined filters. More info: https://docs.confluent.io/platform/current/multi-dc-deployments/cluster-linking/mirror-topics-cp.html#auto-create-mirror-topics",
"properties": {
"enabled": {
"description": "enabled specifies whether to auto-create mirror topics based on topics on the source cluster. When set to \u201ctrue\u201d, mirror topics will be auto-created. Setting this option to \u201cfalse\u201d disables mirror topic creation and clears any existing filters.",
"type": "boolean"
},
"topicFilters": {
"description": "topicFilter contains an array of filters to apply to indicate which topics should be mirrored.",
"items": {
"description": "ClusterLinkOptionsFilter defines the scheme for a filter",
"properties": {
"filterType": {
"description": "filterType specifies the filter type. Valid options are `INCLUDE` and `EXCLUDE`.",
"enum": [
"INCLUDE",
"EXCLUDE"
],
"type": "string"
},
"name": {
"description": "name is the resource name associated with this filter.",
"type": "string"
},
"patternType": {
"description": "patternType is the pattern of the resource. Valid options are `PREFIXED` and `LITERAL`.",
"enum": [
"PREFIXED",
"LITERAL"
],
"type": "string"
}
},
"required": [
"filterType",
"name",
"patternType"
],
"type": "object",
"additionalProperties": false
},
"type": "array"
}
},
"type": "object",
"additionalProperties": false
},
"prefix": {
"description": "prefix specifies prefix for the mirror topics of the cluster link. If configured, the valid mirror topic name should be defined with `<prefix><sourceTopicName>` format which mirrors the topic name of the format `<sourceTopicName>` from source cluster. When auto-create is enabled and the prefix is configured then the topics created on the destination will automatically contain the prefix. Otherwise, `spec.mirrorTopic.name` should be defined with `<prefix><sourceTopicName>` format.",
"maxLength": 255,
"minLength": 1,
"pattern": "^[a-zA-Z0-9\\._\\-]*$",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"mirrorTopics": {
"description": "mirrorTopics specify the mirror topics under this cluster link.",
"items": {
"description": "MirrorTopic defines the mirror topic configuration.",
"properties": {
"configs": {
"additionalProperties": {
"type": "string"
},
"description": "configs is a map of string key and value pairs. It specifies any additional configuration or configuration overrides for the mirror topic.",
"type": "object",
"x-kubernetes-map-type": "granular"
},
"name": {
"description": "name is the mirror topic name. If the sourceTopicName is not configured, we assume that the sourceTopicName is the same as mirrorTopicName, so a topic with the exact same name must exist on the source cluster and no topic with this name should exist on the destination cluster. When `spec.mirrorTopicOptions.prefix: <prefix>` is configured for the cluster link, the name has to be of the format `<prefix><sourceTopicName>`.",
"maxLength": 255,
"minLength": 1,
"pattern": "^[a-zA-Z0-9\\._\\-]*$",
"type": "string"
},
"replicationFactor": {
"description": "replicationFactor specifies the replication factor for the mirror topic on the destination cluster. If this is not configured, mirror topic will inherit the broker `default.replication.factor` configuration.",
"format": "int32",
"type": "integer"
},
"sourceTopicName": {
"description": "sourceTopicName is topic name on the source cluster that will be mirrored to the destination cluster. When `spec.mirrorTopicOptions.prefix: <prefix>` is not configured, you should not configure this field. If it is configured, a topic with the exact same name must exist on the source cluster.",
"maxLength": 255,
"minLength": 1,
"pattern": "^[a-zA-Z0-9\\._\\-]*$",
"type": "string"
},
"state": {
"description": "state specifies the desired state for this mirror topic. Valid options are `ACTIVE`, `FAILOVER`, `PAUSE`, and `PROMOTE`. The default value is `ACTIVE`.",
"enum": [
"PAUSE",
"PROMOTE",
"FAILOVER",
"ACTIVE"
],
"type": "string"
}
},
"required": [
"name"
],
"type": "object",
"additionalProperties": false
},
"type": "array"
},
"name": {
"description": "name specifies the cluster link name. If not configured, then ClusterLink CR name is used as the cluster link name.",
"maxLength": 255,
"minLength": 1,
"pattern": "^[a-zA-Z0-9\\._\\-]*$",
"type": "string"
},
"sourceInitiatedLink": {
"description": "sourceInitiatedLink specify configs for source initiated cluster links.",
"properties": {
"linkMode": {
"description": "linkMode specifies if this source initiated cluster link is in Source or Destination mode.",
"enum": [
"Source",
"Destination"
],
"type": "string"
}
},
"required": [
"linkMode"
],
"type": "object",
"additionalProperties": false
},
"sourceKafkaCluster": {
"description": "sourceKafkaCluster specifies the source Kafka cluster and its REST API configuration.",
"properties": {
"authentication": {
"description": "authentication specifies the authentication for the Kafka cluster.",
"properties": {
"jaasConfig": {
"description": "jaasConfig specifies the Kafka client-side JaaS configuration.",
"properties": {
"secretRef": {
"description": "secretRef references the secret containing the required credentials. More info: https://docs.confluent.io/operator/current/co-authenticate.html",
"maxLength": 30,
"minLength": 1,
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
"type": "string"
}
},
"required": [
"secretRef"
],
"type": "object",
"additionalProperties": false
},
"jaasConfigPassThrough": {
"description": "jaasConfigPassThrough specifies another way to provide the Kafka client-side JaaS configuration.",
"properties": {
"directoryPathInContainer": {
"description": "directoryPathInContainer specifies the directory path in the container where required credentials are mounted. More info: https://docs.confluent.io/operator/current/co-authenticate.html",
"minLength": 1,
"type": "string"
},
"secretRef": {
"description": "secretRef references the secret containing the required credentials for authentication. More info: https://docs.confluent.io/operator/current/co-authenticate.html",
"maxLength": 30,
"minLength": 1,
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"oauthbearer": {
"description": "oauthbearer is the authentication mechanism to provider principals. Only supported in RBAC deployment.",
"properties": {
"directoryPathInContainer": {
"description": "directoryPathInContainer specifies the directory path in the container where the credential is mounted.",
"minLength": 1,
"type": "string"
},
"secretRef": {
"description": "secretRef specifies the name of the secret that contains the credential. More info: https://docs.confluent.io/operator/current/co-authenticate.html#bearer-authentication",
"maxLength": 30,
"minLength": 1,
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"type": {
"description": "type specifies the Kafka client authentication type. Valid options are `plain`, `oauthbearer`, `digest`, and `mtls`.",
"enum": [
"plain",
"oauthbearer",
"digest",
"mtls"
],
"type": "string"
}
},
"required": [
"type"
],
"type": "object",
"additionalProperties": false
},
"bootstrapEndpoint": {
"description": "bootstrapEndpoint specifies the bootstrap endpoint for the Kafka cluster. When `spec.sourceInitiatedLink.linkMode` is configured as `Source`, this is required for `spec.destinationKafkaCluster` and not required for `spec.sourceKafkaCluster`. For other cluster links this is required for `spec.sourceKafkaCluster` and not required for `spec.destinationKafkaCluster`.",
"minLength": 1,
"pattern": ".+:[0-9]+",
"type": "string"
},
"clusterID": {
"description": "clusterID specifies the id of the Kafka cluster. If clusterID is defined for the Kafka cluster, it takes precedence over using the REST API for getting the cluster ID.",
"minLength": 1,
"type": "string"
},
"kafkaRestClassRef": {
"description": "kafkaRestClassRef references the KafkaRestClass application resource which defines the Kafka REST API connection information. When `spec.sourceInitiatedLink.linkMode` is configured as `Source`, this is required for `spec.sourceKafkaCluster` and optional for `spec.destinationKafkaCluster` if `spec.clusterID` is set. For other cluster links this is required for 'spec.destinationKafkaCluster` and optional for `spec.sourceKafkaCluster` if the `spec.clusterID` is set.",
"properties": {
"name": {
"description": "name specifies the name of the KafkaRestClass application resource.",
"minLength": 1,
"type": "string"
},
"namespace": {
"description": "namespace specifies the namespace of the KafkaRestClass.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object",
"additionalProperties": false
},
"tls": {
"description": "tls specifies the client-side TLS configuration for the Kafka cluster.",
"properties": {
"directoryPathInContainer": {
"description": "directoryPathInContainer contains the directory path in the container where `fullchain.pem`, `privkey.pem`, `cacerts.pem` or `tls.crt`, `tls.key`, `ca.crt` keys are mounted.",
"minLength": 1,
"type": "string"
},
"enabled": {
"description": "enabled specifies whether to enable the TLS configuration for the cluster link. The default value is `false`.",
"type": "boolean"
},
"keyPassword": {
"description": "keyPassword references the secret containing the SSL key password if the private key passed in the secretRef above is encrypted.",
"properties": {
"secretRef": {
"description": "secretRef references the name of the secret containing the JKS password. More info: https://docs.confluent.io/operator/current/co-network-encryption.html#configure-user-provided-tls-certificates",
"maxLength": 30,
"minLength": 1,
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
"type": "string"
}
},
"required": [
"secretRef"
],
"type": "object",
"additionalProperties": false
},
"secretRef": {
"description": "secretRef references the secret containing the certificates. More info: https://docs.confluent.io/operator/current/co-network-encryption.html",
"maxLength": 63,
"minLength": 1,
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
"type": "string"
}
},
"required": [
"enabled"
],
"type": "object",
"additionalProperties": false
}
},
"type": "object",
"additionalProperties": false
}
},
"required": [
"destinationKafkaCluster",
"sourceKafkaCluster"
],
"type": "object",
"additionalProperties": false
},
"status": {
"description": "status defines the observed state of the cluster link.",
"properties": {
"appState": {
"default": "Unknown",
"description": "appState is the current state of the cluster link application.",
"enum": [
"Unknown",
"Created",
"Failed",
"Deleted"
],
"type": "string"
},
"clusterLinkID": {
"description": "clusterLinkID is the id of the cluster link.",
"type": "string"
},
"clusterLinkName": {
"description": "clusterLinkName is the name of the cluster link.",
"type": "string"
},
"conditions": {
"description": "conditions are the latest available observations of the cluster link's state.",
"items": {
"description": "Condition represent the latest available observations of the current state.",
"properties": {
"lastProbeTime": {
"description": "lastProbeTime shows the last time the condition was evaluated.",
"format": "date-time",
"type": "string"
},
"lastTransitionTime": {
"description": "lastTransitionTime shows the last time the condition was transitioned from one status to another.",
"format": "date-time",
"type": "string"
},
"message": {
"description": "message shows a human-readable message with details about the transition.",
"type": "string"
},
"reason": {
"description": "reason shows the reason for the last transition of the condition.",
"type": "string"
},
"status": {
"description": "status shows the status of the condition, one of `True`, `False`, or `Unknown`.",
"type": "string"
},
"type": {
"description": "type shows the condition type.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"type": "array"
},
"destinationKafkaClusterID": {
"description": "destinationKafkaClusterID is the ID of the destination Kafka cluster.",
"type": "string"
},
"kafkaCluster": {
"description": "kafkaCluster is the Kafka cluster this cluster link belongs to. The format is: `<Kafka namespace>/<Kafka name>`",
"type": "string"
},
"mirrorTopics": {
"additionalProperties": {
"description": "MirrorTopicStatus specifies the status reported for each mirror topic as part of the cluster link status.",
"properties": {
"observedGeneration": {
"description": "observedGeneration is the most recent generation observed for this Confluent component.",
"format": "int64",
"type": "integer"
},
"replicationFactor": {
"description": "replicationFactor specifies the replication factor for the mirror topic on the destination cluster.",
"format": "int32",
"type": "integer"
},
"sourceTopicName": {
"description": "sourceTopicName is the name of the topic being mirrored on the source cluster.",
"type": "string"
},
"status": {
"description": "status is the status of the mirror topic. It can be `ACTIVE`, `FAILED`, `PAUSED`, `STOPPED`, and `PENDING_STOPPED`.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"description": "mirrorTopics is a map of mirror topic name to its status",
"type": "object",
"x-kubernetes-map-type": "granular"
},
"numMirrorTopics": {
"description": "numMirrorTopics is the number of mirror topics for the cluster link.",
"type": "integer"
},
"observedGeneration": {
"description": "observedGeneration is the most recent generation observed for this Confluent component.",
"format": "int64",
"type": "integer"
},
"sourceKafkaClusterID": {
"description": "sourceKafkaClusterID is the ID of the source Kafka cluster.",
"type": "string"
},
"state": {
"description": "state is the current state of the cluster link.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
}
},
"required": [
"spec"
],
"type": "object"
}