diff --git a/bin/k8s/values.yaml b/bin/k8s/values.yaml index 11b102b728c..f88d5acd14d 100644 --- a/bin/k8s/values.yaml +++ b/bin/k8s/values.yaml @@ -111,6 +111,9 @@ rustfs: rustfs: access_key: texera_rustfs secret_key: password + extraEnv: + - name: RUSTFS_CORS_ALLOWED_ORIGINS + value: "*" config: rustfs: # Must match storage.s3.region: the region is part of the SigV4 scope. diff --git a/bin/single-node/docker-compose.yml b/bin/single-node/docker-compose.yml index f604db653a2..d09cbc09a3d 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 95088150b1c..98cef980291 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