feat(trino): Lakekeeper integration

This commit is contained in:
Masaki Yatsu
2025-10-15 23:08:28 +09:00
parent 6367833ca4
commit a66f8a7db8
4 changed files with 124 additions and 9 deletions

View File

@@ -161,6 +161,14 @@ just vault::get secret/postgres/superuser password
5. **Cleanup Operations**: Most modules provide cleanup recipes (e.g., `just keycloak::delete-user`) with confirmation prompts.
6. **Trino and Lakekeeper Integration**: When setting up Trino with Lakekeeper (Iceberg REST Catalog):
- The Keycloak client MUST have service accounts enabled for OAuth2 client credentials flow
- The `lakekeeper` client scope MUST be added to the Trino client
- An audience mapper MUST be configured to set `aud: lakekeeper` in JWT tokens
- Trino REQUIRES `fs.native-s3.enabled=true` to handle `s3://` URIs, regardless of vended credentials
- When `vended-credentials-enabled=false`, static S3 credentials must be provided via environment variables
- All these configurations are automatically applied by `just trino::install` when MinIO storage is enabled
## Testing and Validation
After setup, validate the stack: