Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/templates/kuttl/iceberg-hive/34_trino.yaml.j2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: trino.stackable.tech/v1alpha1
apiVersion: trino.stackable.tech/v1alpha2
kind: TrinoCatalog
metadata:
name: iceberg
Expand Down
29 changes: 20 additions & 9 deletions tests/templates/kuttl/iceberg-rest/31_trino.yaml.j2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: trino.stackable.tech/v1alpha1
apiVersion: trino.stackable.tech/v1alpha2
kind: TrinoCatalog
metadata:
name: lakehouse
Expand All @@ -8,16 +8,27 @@ metadata:
spec:
connector:
iceberg:
catalog:
rest:
hostname: hive-metastore-default-headless
port: 9001
tls: null
path: /iceberg
authentication:
oAuth2:
server:
hostname: keycloak.$NAMESPACE.svc.cluster.local
port: 8443
path: /realms/test/protocol/openid-connect/token
tls:
verification:
server:
caCert:
secretClass: tls
clientCredentials:
secretName: trino-client-credentials
s3:
reference: garage
configOverrides:
iceberg.catalog.type: rest
# We are using the headless service, as the hive-metastore service is missing port 9001
iceberg.rest-catalog.uri: http://hive-metastore-default-headless:9001/iceberg
iceberg.rest-catalog.security: OAUTH2
iceberg.rest-catalog.oauth2.server-uri: https://keycloak.$NAMESPACE.svc.cluster.local:8443/realms/test/protocol/openid-connect/token
# TODO Mount as env var from Secret trino-client-credentials
iceberg.rest-catalog.oauth2.credential: trino:trino-secret
---
apiVersion: trino.stackable.tech/v1alpha1
kind: TrinoCluster
Expand Down
Loading