Skip to content

Commit 6a31aef

Browse files
committed
chore: replace remaining metadataStorageDatabase occurances.
1 parent 4ab2fc2 commit 6a31aef

22 files changed

Lines changed: 51 additions & 107 deletions

File tree

docs/modules/druid/examples/getting_started/druid.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@ spec:
1212
hdfs:
1313
configMapName: simple-hdfs
1414
directory: /druid
15-
metadataStorageDatabase:
16-
dbType: postgresql
17-
connString: jdbc:postgresql://postgresql-druid/druid
18-
host: postgresql-druid
19-
port: 5432
20-
credentialsSecret: druid-db-credentials
15+
metadataDatabase:
16+
postgresql:
17+
host: postgresql-druid
18+
database: druid
19+
credentialsSecretName: druid-db-credentials
2120
brokers:
2221
roleGroups:
2322
default:

docs/modules/druid/examples/getting_started/druid.yaml.j2

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@ spec:
1212
hdfs:
1313
configMapName: simple-hdfs
1414
directory: /druid
15-
metadataStorageDatabase:
16-
dbType: postgresql
17-
connString: jdbc:postgresql://postgresql-druid/druid
18-
host: postgresql-druid
19-
port: 5432
20-
credentialsSecret: druid-db-credentials
15+
metadataDatabase:
16+
postgresql:
17+
host: postgresql-druid
18+
database: druid
19+
credentialsSecretName: druid-db-credentials
2120
brokers:
2221
roleGroups:
2322
default:

rust/operator-binary/src/crd/authentication.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,7 @@ deepStorage:
259259
configMapName: druid-hdfs
260260
directory: /druid
261261
metadataDatabase:
262-
derby:
263-
location: localhost:1527/var/druid/metadata.db;create=true
262+
derby: {}
264263
zookeeperConfigMapName: zk-config-map
265264
"#;
266265

rust/operator-binary/src/crd/tls.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ deepStorage:
4141
configMapName: druid-hdfs
4242
directory: /druid
4343
metadataDatabase:
44-
derby:
45-
location: localhost:1527/var/druid/metadata.db;create=true
44+
derby: {}
4645
zookeeperConfigMapName: zk-config-map
4746
"#;
4847

tests/templates/kuttl/authorizer/04-install-druid.yaml.j2

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,8 @@ spec:
2727
hdfs:
2828
configMapName: druid-hdfs
2929
directory: /druid
30-
metadataStorageDatabase:
31-
dbType: derby
32-
connString: jdbc:derby://localhost:1527/var/druid/metadata.db;create=true
33-
host: localhost
34-
port: 1527
30+
metadataDatabase:
31+
derby: {}
3532
{% if lookup('env', 'VECTOR_AGGREGATOR') %}
3633
vectorAggregatorConfigMapName: vector-aggregator-discovery
3734
{% endif %}

tests/templates/kuttl/cluster-operation/30-install-druid.yaml.j2

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,8 @@ spec:
2121
hdfs:
2222
configMapName: druid-hdfs
2323
directory: /druid
24-
metadataStorageDatabase:
25-
dbType: derby
26-
connString: jdbc:derby://localhost:1527/var/druid/metadata.db;create=true
27-
host: localhost
28-
port: 1527
24+
metadataDatabase:
25+
derby: {}
2926
{% if lookup('env', 'VECTOR_AGGREGATOR') %}
3027
vectorAggregatorConfigMapName: vector-aggregator-discovery
3128
{% endif %}

tests/templates/kuttl/cluster-operation/40-stop-druid.yaml.j2

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,8 @@ spec:
2020
hdfs:
2121
configMapName: druid-hdfs
2222
directory: /druid
23-
metadataStorageDatabase:
24-
dbType: derby
25-
connString: jdbc:derby://localhost:1527/var/druid/metadata.db;create=true
26-
host: localhost
27-
port: 1527
23+
metadataDatabase:
24+
derby: {}
2825
{% if lookup('env', 'VECTOR_AGGREGATOR') %}
2926
vectorAggregatorConfigMapName: vector-aggregator-discovery
3027
{% endif %}

tests/templates/kuttl/cluster-operation/50-pause-druid.yaml.j2

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,8 @@ spec:
2020
hdfs:
2121
configMapName: druid-hdfs
2222
directory: /druid
23-
metadataStorageDatabase:
24-
dbType: derby
25-
connString: jdbc:derby://localhost:1527/var/druid/metadata.db;create=true
26-
host: localhost
27-
port: 1527
23+
metadataDatabase:
24+
derby: {}
2825
{% if lookup('env', 'VECTOR_AGGREGATOR') %}
2926
vectorAggregatorConfigMapName: vector-aggregator-discovery
3027
{% endif %}

tests/templates/kuttl/cluster-operation/60-restart-druid.yaml.j2

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,8 @@ spec:
2020
hdfs:
2121
configMapName: druid-hdfs
2222
directory: /druid
23-
metadataStorageDatabase:
24-
dbType: derby
25-
connString: jdbc:derby://localhost:1527/var/druid/metadata.db;create=true
26-
host: localhost
27-
port: 1527
23+
metadataDatabase:
24+
derby: {}
2825
{% if lookup('env', 'VECTOR_AGGREGATOR') %}
2926
vectorAggregatorConfigMapName: vector-aggregator-discovery
3027
{% endif %}

tests/templates/kuttl/external-access/50_druid.yaml.j2

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,11 @@ spec:
1313
{% endif %}
1414
pullPolicy: IfNotPresent
1515
clusterConfig:
16-
metadataStorageDatabase:
17-
dbType: postgresql
18-
connString: jdbc:postgresql://druid-postgresql/druid
19-
host: druid-postgresql
20-
port: 5432
21-
credentialsSecret: druid-credentials
16+
metadataDatabase:
17+
postgresql:
18+
host: druid-postgresql
19+
database: druid
20+
credentialsSecretName: druid-credentials
2221
deepStorage:
2322
hdfs:
2423
configMapName: druid-hdfs

0 commit comments

Comments
 (0)