Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

Add s3-path-style-access variable to iceberg-rest docker (#7508)

Yftach Zurfe020ea3f654
diff --git a/dev/docker/iceberg-rest-server/rewrite_config.py b/dev/docker/iceberg-rest-server/rewrite_config.py
index 3f1be57c7c..9171cbb118 100755
--- a/dev/docker/iceberg-rest-server/rewrite_config.py
+++ b/dev/docker/iceberg-rest-server/rewrite_config.py
@@ -34,6 +34,7 @@ env_map = {
"GRAVITINO_S3_SECRET_KEY": "s3-secret-access-key",
"GRAVITINO_S3_ENDPOINT": "s3-endpoint",
"GRAVITINO_S3_REGION": "s3-region",
+ "GRAVITINO_S3_PATH_STYLE_ACCESS": "s3-path-style-access",
"GRAVITINO_S3_ROLE_ARN": "s3-role-arn",
"GRAVITINO_S3_EXTERNAL_ID": "s3-external-id",
"GRAVITINO_AZURE_STORAGE_ACCOUNT_NAME": "azure-storage-account-name",
diff --git a/docs/iceberg-rest-service.md b/docs/iceberg-rest-service.md
index d3a342ab84..aeb683e63a 100644
--- a/docs/iceberg-rest-service.md
+++ b/docs/iceberg-rest-service.md
@@ -583,6 +583,7 @@ Gravitino Iceberg REST server in docker image could access local storage by defa
| `GRAVITINO_S3_ROLE_ARN` | `gravitino.iceberg-rest.s3-role-arn` | 0.7.0-incubating |
| `GRAVITINO_S3_EXTERNAL_ID` | `gravitino.iceberg-rest.s3-external-id` | 0.7.0-incubating |
| `GRAVITINO_S3_TOKEN_SERVICE_ENDPOINT` | `gravitino.iceberg-rest.s3-token-service-endpoint` | 0.8.0-incubating |
+| `GRAVITINO_S3_PATH_STYLE_ACCESS` | `gravitino.iceberg-rest.s3-path-style-access` | 1.0.0 |
| `GRAVITINO_AZURE_STORAGE_ACCOUNT_NAME` | `gravitino.iceberg-rest.azure-storage-account-name` | 0.8.0-incubating |
| `GRAVITINO_AZURE_STORAGE_ACCOUNT_KEY` | `gravitino.iceberg-rest.azure-storage-account-key` | 0.8.0-incubating |
| `GRAVITINO_AZURE_TENANT_ID` | `gravitino.iceberg-rest.azure-tenant-id` | 0.8.0-incubating |