You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@polaris.apache.org by "ddecrulle (via GitHub)" <gi...@apache.org> on 2026/03/05 15:01:54 UTC
[I] Helm chart: CORS `allowedMethods` default does not include HEAD, breaking DuckDB connectivity [polaris]
ddecrulle opened a new issue, #3938:
URL: https://github.com/apache/polaris/issues/3938
### Is your feature request related to a problem? Please describe.
The Helm chart comment for `allowedMethods` states:
```yaml
# If this is not set or empty, all requested methods are considered allowed.
allowedMethods: []
```
In practice, leaving this empty breaks clients like **DuckDB** that issue
`HEAD` requests to the Iceberg REST Catalog — those requests are rejected
with a CORS error.
## Root cause
Quarkus does not include `HEAD` in its CORS allowed methods when the property
is left empty, despite its own documentation suggesting otherwise. This may be
an intentional choice in Quarkus, but it means Polaris's default Helm
configuration silently breaks clients that rely on `HEAD`.
## Impact
Clients like **DuckDB** (including the WASM build) issue `HEAD` requests when
probing Iceberg REST Catalog endpoints. Without `HEAD` explicitly listed,
these requests fail with a CORS error, preventing DuckDB-based UIs from
connecting to Polaris.
### Describe the solution you'd like
The Helm chart should ship with `HEAD` explicitly included in the defaults:
```yaml
allowedMethods: [GET, HEAD, PUT, POST, DELETE, OPTIONS]
```
### Describe alternatives you've considered
_No response_
### Additional context
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Helm chart: CORS `allowedMethods` default does not include HEAD, breaking DuckDB connectivity [polaris]
Posted by "dimas-b (via GitHub)" <gi...@apache.org>.
dimas-b closed issue #3938: Helm chart: CORS `allowedMethods` default does not include HEAD, breaking DuckDB connectivity
URL: https://github.com/apache/polaris/issues/3938
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Helm chart: CORS `allowedMethods` default does not include HEAD, breaking DuckDB connectivity [polaris]
Posted by "adutra (via GitHub)" <gi...@apache.org>.
adutra commented on issue #3938:
URL: https://github.com/apache/polaris/issues/3938#issuecomment-4006424448
FYI I think the problem is not in Quarkus but in Polaris: we explicitly define `quarkus.http.cors.methods` here:
https://github.com/apache/polaris/blob/d14ee7b7a2f3902f1e891a4fdab28d0c6b3afe00/runtime/defaults/src/main/resources/application.properties#L61
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org