This is an automated email from the ASF dual-hosted git repository.
github-merge-queue[bot] pushed a commit to branch
gh-readonly-queue/release/v1.2/pr-8585-67ace7ca9a8d4fec394660c81820633353e5c31d
in repository https://gitbox.apache.org/repos/asf/texera.git
commit 5a5ff9a3cae542c599866d9d15d8c3363668026e
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Sep 19 03:44:19 2026 +0000
fix(deploy, v1.2): enable CORS on RustFS so browsers can fetch presigned
URLs (#8585)
### What changes were proposed in this PR?
Automated backport of #8562 to `release/v1.2`.
Source: af6e0fdd96f44c1d575278b9fd12ed61ce6a8640 ยท [automation
run](https://github.com/apache/texera/actions/runs/35305278774)
### Any related issues, documentation, discussions?
Backport of #8562. Originally linked #8557.
### How was this PR tested?
Release-branch CI runs on this branch once the build is fixed and this
PR is marked ready for review.
### Was this PR authored or co-authored using generative AI tooling?
No.
Co-authored-by: Xuan Gu <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
---
bin/k8s/values.yaml | 3 +++
bin/single-node/docker-compose.yml | 1 +
file-service/src/main/resources/docker-compose.yml | 1 +
3 files changed, 5 insertions(+)
diff --git a/bin/k8s/values.yaml b/bin/k8s/values.yaml
index d7faf7b946..5f606986d8 100644
--- a/bin/k8s/values.yaml
+++ b/bin/k8s/values.yaml
@@ -95,6 +95,9 @@ rustfs:
rustfs:
access_key: texera_rustfs
secret_key: password
+ extraEnv:
+ - name: RUSTFS_CORS_ALLOWED_ORIGINS
+ value: "*"
config:
rustfs:
# Must match the lakefs/lakekeeperInit region: it is part of the SigV4
scope.
diff --git a/bin/single-node/docker-compose.yml
b/bin/single-node/docker-compose.yml
index 52f3a89a0e..cee82be45b 100644
--- a/bin/single-node/docker-compose.yml
+++ b/bin/single-node/docker-compose.yml
@@ -29,6 +29,7 @@ services:
environment:
- RUSTFS_ACCESS_KEY=${STORAGE_S3_AUTH_USERNAME}
- RUSTFS_SECRET_KEY=${STORAGE_S3_AUTH_PASSWORD}
+ - RUSTFS_CORS_ALLOWED_ORIGINS=*
# Must match STORAGE_S3_REGION: the region is part of the SigV4 scope,
and
# LakeFS sends its blockstore region on every request.
- RUSTFS_REGION=${STORAGE_S3_REGION}
diff --git a/file-service/src/main/resources/docker-compose.yml
b/file-service/src/main/resources/docker-compose.yml
index 95088150b1..98cef98029 100644
--- a/file-service/src/main/resources/docker-compose.yml
+++ b/file-service/src/main/resources/docker-compose.yml
@@ -27,6 +27,7 @@ services:
environment:
- RUSTFS_ACCESS_KEY=texera_rustfs
- RUSTFS_SECRET_KEY=password
+ - RUSTFS_CORS_ALLOWED_ORIGINS=*
# Must match the region the AWS SDK signs with: it is part of the SigV4
scope.
- RUSTFS_REGION=us-west-2
- RUSTFS_CONSOLE_ENABLE=true