Skip to content

Commit 12050d4

Browse files
authored
test: Fix HMS database connections (#927)
1 parent 70f10e8 commit 12050d4

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

tests/templates/kuttl/iceberg-hive/33_hive.yaml.j2

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ spec:
1313
{% endif %}
1414
pullPolicy: IfNotPresent
1515
clusterConfig:
16-
database:
17-
connString: jdbc:postgresql://postgresql:5432/hive
18-
credentialsSecret: postgres-credentials
19-
dbType: postgres
16+
metadataDatabase:
17+
postgresql:
18+
host: postgresql
19+
database: hive
20+
credentialsSecretName: postgres-credentials
2021
hdfs:
2122
configMap: hdfs
2223
s3:

tests/templates/kuttl/iceberg-rest/30_hive.yaml.j2

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ spec:
1313
{% endif %}
1414
pullPolicy: IfNotPresent
1515
clusterConfig:
16-
database:
17-
connString: jdbc:postgresql://postgresql:5432/hive
18-
credentialsSecret: postgres-credentials
19-
dbType: postgres
16+
metadataDatabase:
17+
postgresql:
18+
host: postgresql
19+
database: hive
20+
credentialsSecretName: postgres-credentials
2021
s3:
2122
reference: minio
2223
{% if lookup('env', 'VECTOR_AGGREGATOR') %}

0 commit comments

Comments
 (0)