@@ -1264,27 +1264,27 @@ _sasl_scram_users: "{
1264
1264
'client': {
1265
1265
'principal': 'client',
1266
1266
'password': 'client-secret'
1267
- }{% if 'schema_registry' in groups %},
1267
+ }{% if 'schema_registry' in groups and groups['schema_registry']|length > 0 %},
1268
1268
'schema_registry': {
1269
1269
'principal': 'schema_registry',
1270
1270
'password': 'schema_registry-secret'
1271
- }{% endif %}{% if 'kafka_connect' in groups %},
1271
+ }{% endif %}{% if 'kafka_connect' in groups and groups['kafka_connect']|length > 0 %},
1272
1272
'kafka_connect': {
1273
1273
'principal': 'kafka_connect',
1274
1274
'password': 'kafka_connect-secret'
1275
- }{% endif %}{% if 'kafka_rest' in groups %},
1275
+ }{% endif %}{% if 'kafka_rest' in groups and groups['kafka_rest']|length > 0 %},
1276
1276
'kafka_rest': {
1277
1277
'principal': 'kafka_rest',
1278
1278
'password': 'kafka_rest-secret'
1279
- }{% endif %}{% if 'ksql' in groups %},
1279
+ }{% endif %}{% if 'ksql' in groups and groups['ksql']|length > 0 %},
1280
1280
'ksql': {
1281
1281
'principal': 'ksql',
1282
1282
'password': 'ksql-secret'
1283
- }{% endif %}{% if 'control_center' in groups %},
1283
+ }{% endif %}{% if 'control_center' in groups and groups['control_center']|length > 0 %},
1284
1284
'control_center': {
1285
1285
'principal': 'control_center',
1286
1286
'password': 'control_center-secret'
1287
- }{% endif %}{% if 'kafka_connect_replicator' in groups %},
1287
+ }{% endif %}{% if 'kafka_connect_replicator' in groups and groups['kafka_connect_replicator']|length > 0 %},
1288
1288
'kafka_connect_replicator': {
1289
1289
'principal': 'kafka_connect_replicator',
1290
1290
'password': 'kafka_connect_replicator-secret'
@@ -1305,27 +1305,27 @@ _sasl_scram256_users: "{
1305
1305
'client': {
1306
1306
'principal': 'client',
1307
1307
'password': 'client-secret'
1308
- }{% if 'schema_registry' in groups %},
1308
+ }{% if 'schema_registry' in groups and groups['schema_registry']|length > 0 %},
1309
1309
'schema_registry': {
1310
1310
'principal': 'schema_registry',
1311
1311
'password': 'schema_registry-secret'
1312
- }{% endif %}{% if 'kafka_connect' in groups %},
1312
+ }{% endif %}{% if 'kafka_connect' in groups and groups['kafka_connect']|length > 0 %},
1313
1313
'kafka_connect': {
1314
1314
'principal': 'kafka_connect',
1315
1315
'password': 'kafka_connect-secret'
1316
- }{% endif %}{% if 'kafka_rest' in groups %},
1316
+ }{% endif %}{% if 'kafka_rest' in groups and groups['kafka_rest']|length > 0 %},
1317
1317
'kafka_rest': {
1318
1318
'principal': 'kafka_rest',
1319
1319
'password': 'kafka_rest-secret'
1320
- }{% endif %}{% if 'ksql' in groups %},
1320
+ }{% endif %}{% if 'ksql' in groups and groups['ksql']|length > 0 %},
1321
1321
'ksql': {
1322
1322
'principal': 'ksql',
1323
1323
'password': 'ksql-secret'
1324
- }{% endif %}{% if 'control_center' in groups %},
1324
+ }{% endif %}{% if 'control_center' in groups and groups['control_center']|length > 0 %},
1325
1325
'control_center': {
1326
1326
'principal': 'control_center',
1327
1327
'password': 'control_center-secret'
1328
- }{% endif %}{% if 'kafka_connect_replicator' in groups %},
1328
+ }{% endif %}{% if 'kafka_connect_replicator' in groups and groups['kafka_connect_replicator']|length > 0 %},
1329
1329
'kafka_connect_replicator': {
1330
1330
'principal': 'kafka_connect_replicator',
1331
1331
'password': 'kafka_connect_replicator-secret'
@@ -1346,27 +1346,27 @@ _sasl_plain_users: "{
1346
1346
'client': {
1347
1347
'principal': 'client',
1348
1348
'password': 'client-secret'
1349
- }{% if 'schema_registry' in groups %},
1349
+ }{% if 'schema_registry' in groups and groups['schema_registry']|length > 0 %},
1350
1350
'schema_registry': {
1351
1351
'principal': '{% if ccloud_kafka_enabled|bool %}{{ccloud_kafka_key}}{% else %}schema_registry{% endif %}',
1352
1352
'password': '{% if ccloud_kafka_enabled|bool %}{{ccloud_kafka_secret}}{% else %}schema_registry-secret{% endif %}'
1353
- }{% endif %}{% if 'kafka_connect' in groups %},
1353
+ }{% endif %}{% if 'kafka_connect' in groups and groups['kafka_connect']|length > 0 %},
1354
1354
'kafka_connect': {
1355
1355
'principal': '{% if ccloud_kafka_enabled|bool %}{{ccloud_kafka_key}}{% else %}kafka_connect{% endif %}',
1356
1356
'password': '{% if ccloud_kafka_enabled|bool %}{{ccloud_kafka_secret}}{% else %}kafka_connect-secret{% endif %}'
1357
- }{% endif %}{% if 'kafka_rest' in groups %},
1357
+ }{% endif %}{% if 'kafka_rest' in groups and groups['kafka_rest']|length > 0 %},
1358
1358
'kafka_rest': {
1359
1359
'principal': '{% if ccloud_kafka_enabled|bool %}{{ccloud_kafka_key}}{% else %}kafka_rest{% endif %}',
1360
1360
'password': '{% if ccloud_kafka_enabled|bool %}{{ccloud_kafka_secret}}{% else %}kafka_rest-secret{% endif %}'
1361
- }{% endif %}{% if 'ksql' in groups %},
1361
+ }{% endif %}{% if 'ksql' in groups and groups['ksql']|length > 0 %},
1362
1362
'ksql': {
1363
1363
'principal': '{% if ccloud_kafka_enabled|bool %}{{ccloud_kafka_key}}{% else %}ksql{% endif %}',
1364
1364
'password': '{% if ccloud_kafka_enabled|bool %}{{ccloud_kafka_secret}}{% else %}ksql-secret{% endif %}'
1365
- }{% endif %}{% if 'control_center' in groups %},
1365
+ }{% endif %}{% if 'control_center' in groups and groups['control_center']|length > 0 %},
1366
1366
'control_center': {
1367
1367
'principal': '{% if ccloud_kafka_enabled|bool %}{{ccloud_kafka_key}}{% else %}control_center{% endif %}',
1368
1368
'password': '{% if ccloud_kafka_enabled|bool %}{{ccloud_kafka_secret}}{% else %}control_center-secret{% endif %}'
1369
- }{% endif %}{% if 'kafka_connect_replicator' in groups %},
1369
+ }{% endif %}{% if 'kafka_connect_replicator' in groups and groups['kafka_connect_replicator']|length > 0 %},
1370
1370
'kafka_connect_replicator': {
1371
1371
'principal': 'kafka_connect_replicator',
1372
1372
'password': 'kafka_connect_replicator-secret'
0 commit comments