|
| 1 | +apiVersion: platform.confluent.io/v1beta1 |
| 2 | +kind: Zookeeper |
| 3 | +metadata: |
| 4 | + name: zookeeper |
| 5 | + namespace: confluent |
| 6 | +spec: |
| 7 | + replicas: 1 |
| 8 | + image: |
| 9 | + application: confluentinc/cp-zookeeper:7.4.0 |
| 10 | + init: confluentinc/confluent-init-container:2.6.0 |
| 11 | + dataVolumeCapacity: 10Gi |
| 12 | + logVolumeCapacity: 10Gi |
| 13 | + authentication: |
| 14 | + type: digest |
| 15 | + jaasConfig: |
| 16 | + secretRef: credential |
| 17 | + tls: |
| 18 | + autoGeneratedCerts: true |
| 19 | +--- |
| 20 | +apiVersion: platform.confluent.io/v1beta1 |
| 21 | +kind: Kafka |
| 22 | +metadata: |
| 23 | + name: kafka |
| 24 | + namespace: confluent |
| 25 | +spec: |
| 26 | + replicas: 1 |
| 27 | + image: |
| 28 | + application: confluentinc/cp-server:7.4.0 |
| 29 | + init: confluentinc/confluent-init-container:2.6.0 |
| 30 | + dataVolumeCapacity: 10Gi |
| 31 | + tls: |
| 32 | + autoGeneratedCerts: true |
| 33 | + listeners: |
| 34 | + internal: |
| 35 | + authentication: |
| 36 | + type: plain |
| 37 | + jaasConfig: |
| 38 | + secretRef: credential |
| 39 | + tls: |
| 40 | + enabled: true |
| 41 | + external: |
| 42 | + authentication: |
| 43 | + type: plain |
| 44 | + jaasConfig: |
| 45 | + secretRef: credential |
| 46 | + externalAccess: |
| 47 | + type: loadBalancer |
| 48 | + loadBalancer: |
| 49 | + domain: my.domain |
| 50 | + brokerPrefix: rb |
| 51 | + bootstrapPrefix: rb |
| 52 | + tls: |
| 53 | + enabled: true |
| 54 | + authorization: |
| 55 | + type: rbac |
| 56 | + superUsers: |
| 57 | + - User:kafka |
| 58 | + services: |
| 59 | + mds: |
| 60 | + tls: |
| 61 | + enabled: true |
| 62 | + tokenKeyPair: |
| 63 | + secretRef: mds-token |
| 64 | + listeners: |
| 65 | + internal: |
| 66 | + # Since no secretRef is specified, the mds internal listener |
| 67 | + # tls will piggyback mds.tls which also has no secretRef is specified, |
| 68 | + # so the Kafka auto-generated tls configuration will be used for this listener. |
| 69 | + tls: |
| 70 | + enabled: true |
| 71 | + external: |
| 72 | + tls: |
| 73 | + enabled: true |
| 74 | + secretRef: tls-mds |
| 75 | + externalAccess: |
| 76 | + type: loadBalancer |
| 77 | + loadBalancer: |
| 78 | + domain: my.domain |
| 79 | + prefix: rb-mds |
| 80 | + provider: |
| 81 | + type: ldap |
| 82 | + ldap: |
| 83 | + address: ldap://ldap.confluent.svc.cluster.local:389 |
| 84 | + authentication: |
| 85 | + type: simple |
| 86 | + simple: |
| 87 | + secretRef: credential |
| 88 | + configurations: |
| 89 | + groupNameAttribute: cn |
| 90 | + groupObjectClass: group |
| 91 | + groupMemberAttribute: member |
| 92 | + groupMemberAttributePattern: CN=(.*),DC=test,DC=com |
| 93 | + groupSearchBase: dc=test,dc=com |
| 94 | + userNameAttribute: cn |
| 95 | + userMemberOfAttributePattern: CN=(.*),DC=test,DC=com |
| 96 | + userObjectClass: organizationalRole |
| 97 | + userSearchBase: dc=test,dc=com |
| 98 | + dependencies: |
| 99 | + kafkaRest: |
| 100 | + authentication: |
| 101 | + type: bearer |
| 102 | + bearer: |
| 103 | + secretRef: mds-client |
| 104 | + zookeeper: |
| 105 | + endpoint: zookeeper.confluent.svc.cluster.local:2182 |
| 106 | + authentication: |
| 107 | + type: digest |
| 108 | + jaasConfig: |
| 109 | + secretRef: credential |
| 110 | + tls: |
| 111 | + enabled: true |
| 112 | +--- |
| 113 | +apiVersion: platform.confluent.io/v1beta1 |
| 114 | +kind: Connect |
| 115 | +metadata: |
| 116 | + name: connect |
| 117 | + namespace: confluent |
| 118 | +spec: |
| 119 | + replicas: 1 |
| 120 | + image: |
| 121 | + application: confluentinc/cp-server-connect:7.4.0 |
| 122 | + init: confluentinc/confluent-init-container:2.6.0 |
| 123 | + tls: |
| 124 | + autoGeneratedCerts: true |
| 125 | + externalAccess: |
| 126 | + type: loadBalancer |
| 127 | + loadBalancer: |
| 128 | + domain: my.domain |
| 129 | + prefix: rb-connect |
| 130 | + authorization: |
| 131 | + type: rbac |
| 132 | + dependencies: |
| 133 | + kafka: |
| 134 | + bootstrapEndpoint: kafka.confluent.svc.cluster.local:9071 |
| 135 | + authentication: |
| 136 | + type: plain |
| 137 | + jaasConfig: |
| 138 | + secretRef: credential |
| 139 | + tls: |
| 140 | + enabled: true |
| 141 | + mds: |
| 142 | + endpoint: https://kafka.confluent.svc.cluster.local:9090 |
| 143 | + tokenKeyPair: |
| 144 | + secretRef: mds-token |
| 145 | + authentication: |
| 146 | + type: bearer |
| 147 | + bearer: |
| 148 | + secretRef: connect-mds-client |
| 149 | + tls: |
| 150 | + enabled: true |
| 151 | +--- |
| 152 | +apiVersion: platform.confluent.io/v1beta1 |
| 153 | +kind: SchemaRegistry |
| 154 | +metadata: |
| 155 | + name: schemaregistry |
| 156 | + namespace: confluent |
| 157 | +spec: |
| 158 | + replicas: 1 |
| 159 | + image: |
| 160 | + application: confluentinc/cp-schema-registry:7.4.0 |
| 161 | + init: confluentinc/confluent-init-container:2.6.0 |
| 162 | + tls: |
| 163 | + autoGeneratedCerts: true |
| 164 | + externalAccess: |
| 165 | + type: loadBalancer |
| 166 | + loadBalancer: |
| 167 | + domain: my.domain |
| 168 | + prefix: rb-sr |
| 169 | + authorization: |
| 170 | + type: rbac |
| 171 | + dependencies: |
| 172 | + kafka: |
| 173 | + bootstrapEndpoint: kafka.confluent.svc.cluster.local:9071 |
| 174 | + authentication: |
| 175 | + type: plain |
| 176 | + jaasConfig: |
| 177 | + secretRef: credential |
| 178 | + tls: |
| 179 | + enabled: true |
| 180 | + mds: |
| 181 | + endpoint: https://kafka.confluent.svc.cluster.local:9090 |
| 182 | + tokenKeyPair: |
| 183 | + secretRef: mds-token |
| 184 | + authentication: |
| 185 | + type: bearer |
| 186 | + bearer: |
| 187 | + secretRef: sr-mds-client |
| 188 | + tls: |
| 189 | + enabled: true |
| 190 | +--- |
| 191 | +apiVersion: platform.confluent.io/v1beta1 |
| 192 | +kind: KafkaRestProxy |
| 193 | +metadata: |
| 194 | + name: kafkarestproxy |
| 195 | + namespace: confluent |
| 196 | +spec: |
| 197 | + replicas: 1 |
| 198 | + image: |
| 199 | + application: confluentinc/cp-kafka-rest:7.4.0 |
| 200 | + init: confluentinc/confluent-init-container:2.6.0 |
| 201 | + tls: |
| 202 | + autoGeneratedCerts: true |
| 203 | + externalAccess: |
| 204 | + type: loadBalancer |
| 205 | + loadBalancer: |
| 206 | + domain: my.domain |
| 207 | + prefix: rb-krp |
| 208 | + authorization: |
| 209 | + type: rbac |
| 210 | + dependencies: |
| 211 | + kafka: |
| 212 | + bootstrapEndpoint: kafka.confluent.svc.cluster.local:9071 |
| 213 | + authentication: |
| 214 | + type: plain |
| 215 | + jaasConfig: |
| 216 | + secretRef: credential |
| 217 | + tls: |
| 218 | + enabled: true |
| 219 | + mds: |
| 220 | + endpoint: https://kafka.confluent.svc.cluster.local:9090 |
| 221 | + tokenKeyPair: |
| 222 | + secretRef: mds-token |
| 223 | + authentication: |
| 224 | + type: bearer |
| 225 | + bearer: |
| 226 | + secretRef: krp-mds-client |
| 227 | + tls: |
| 228 | + enabled: true |
| 229 | + schemaRegistry: |
| 230 | + url: https://schemaregistry.confluent.svc.cluster.local:8081 |
| 231 | + tls: |
| 232 | + enabled: true |
| 233 | +--- |
| 234 | +apiVersion: platform.confluent.io/v1beta1 |
| 235 | +kind: KsqlDB |
| 236 | +metadata: |
| 237 | + name: ksqldb |
| 238 | + namespace: confluent |
| 239 | +spec: |
| 240 | + replicas: 1 |
| 241 | + image: |
| 242 | + application: confluentinc/cp-ksqldb-server:7.4.0 |
| 243 | + init: confluentinc/confluent-init-container:2.6.0 |
| 244 | + dataVolumeCapacity: 10Gi |
| 245 | + authorization: |
| 246 | + type: rbac |
| 247 | + externalAccess: |
| 248 | + type: loadBalancer |
| 249 | + loadBalancer: |
| 250 | + domain: my.domain |
| 251 | + prefix: rb-ksql |
| 252 | + tls: |
| 253 | + autoGeneratedCerts: true |
| 254 | + dependencies: |
| 255 | + kafka: |
| 256 | + bootstrapEndpoint: kafka.confluent.svc.cluster.local:9071 |
| 257 | + authentication: |
| 258 | + type: plain |
| 259 | + jaasConfig: |
| 260 | + secretRef: credential |
| 261 | + tls: |
| 262 | + enabled: true |
| 263 | + mds: |
| 264 | + endpoint: https://kafka.confluent.svc.cluster.local:9090 |
| 265 | + tokenKeyPair: |
| 266 | + secretRef: mds-token |
| 267 | + authentication: |
| 268 | + type: bearer |
| 269 | + bearer: |
| 270 | + secretRef: ksqldb-mds-client |
| 271 | + tls: |
| 272 | + enabled: true |
| 273 | +--- |
| 274 | +apiVersion: platform.confluent.io/v1beta1 |
| 275 | +kind: ControlCenter |
| 276 | +metadata: |
| 277 | + name: controlcenter |
| 278 | + namespace: confluent |
| 279 | +spec: |
| 280 | + replicas: 1 |
| 281 | + podTemplate: |
| 282 | + probe: |
| 283 | + liveness: |
| 284 | + periodSeconds: 10 |
| 285 | + failureThreshold: 1 |
| 286 | + timeoutSeconds: 5 |
| 287 | + image: |
| 288 | + application: confluentinc/cp-enterprise-control-center:7.4.0 |
| 289 | + init: confluentinc/confluent-init-container:2.6.0 |
| 290 | + dataVolumeCapacity: 10Gi |
| 291 | + authorization: |
| 292 | + type: rbac |
| 293 | + tls: |
| 294 | + autoGeneratedCerts: true |
| 295 | + dependencies: |
| 296 | + kafka: |
| 297 | + bootstrapEndpoint: kafka.confluent.svc.cluster.local:9071 |
| 298 | + authentication: |
| 299 | + type: plain |
| 300 | + jaasConfig: |
| 301 | + secretRef: credential |
| 302 | + tls: |
| 303 | + enabled: true |
| 304 | + mds: |
| 305 | + endpoint: https://kafka.confluent.svc.cluster.local:9090 |
| 306 | + tokenKeyPair: |
| 307 | + secretRef: mds-token |
| 308 | + authentication: |
| 309 | + type: bearer |
| 310 | + bearer: |
| 311 | + secretRef: c3-mds-client |
| 312 | + tls: |
| 313 | + enabled: true |
| 314 | + connect: |
| 315 | + - name: connect |
| 316 | + url: https://connect.confluent.svc.cluster.local:8083 |
| 317 | + tls: |
| 318 | + enabled: true |
| 319 | + ksqldb: |
| 320 | + - name: ksqldb |
| 321 | + url: https://ksqldb.confluent.svc.cluster.local:8088 |
| 322 | + tls: |
| 323 | + enabled: true |
| 324 | + schemaRegistry: |
| 325 | + url: https://schemaregistry.confluent.svc.cluster.local:8081 |
| 326 | + tls: |
| 327 | + enabled: true |
| 328 | +--- |
| 329 | +apiVersion: platform.confluent.io/v1beta1 |
| 330 | +kind: KafkaRestClass |
| 331 | +metadata: |
| 332 | + name: default |
| 333 | + namespace: confluent |
| 334 | +spec: |
| 335 | + kafkaRest: |
| 336 | + authentication: |
| 337 | + type: bearer |
| 338 | + bearer: |
| 339 | + secretRef: rest-credential |
0 commit comments