Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ All notable changes to this project will be documented in this file.
- Support for fault-tolerant execution ([#779], [#793]).
- Support for the client spooling protocol ([#793]).
- Helm: Allow Pod `priorityClassName` to be configured ([#798]).
- Add support for Trino 477 ([#801]).

### Changed

- Deprecate Trino 451 and 476 ([#801]).

### Fixed

Expand All @@ -20,10 +25,15 @@ All notable changes to this project will be documented in this file.
We now correctly handle multiple certificates for both cases.
See [this GitHub issue](https://github.com/stackabletech/issues/issues/764) for details

### Removed

- Remove support for Trino 470 ([#801]).

[#779]: https://github.com/stackabletech/trino-operator/pull/779
[#793]: https://github.com/stackabletech/trino-operator/pull/793
[#796]: https://github.com/stackabletech/trino-operator/pull/796
[#798]: https://github.com/stackabletech/trino-operator/pull/798
[#801]: https://github.com/stackabletech/trino-operator/pull/801

## [25.7.0] - 2025-07-23

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: simple-trino
spec:
image:
productVersion: "476"
productVersion: "477"
clusterConfig:
catalogLabelSelector:
matchLabels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: simple-trino
spec:
image:
productVersion: "476"
productVersion: "477"
clusterConfig:
catalogLabelSelector:
matchLabels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: trino-fault-tolerant
spec:
image:
productVersion: "476"
productVersion: "477"
clusterConfig:
catalogLabelSelector:
matchLabels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ metadata:
name: simple-trino
spec:
image:
productVersion: "476"
productVersion: "477"
clusterConfig:
catalogLabelSelector:
matchLabels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ metadata:
name: simple-trino
spec:
image:
productVersion: "476"
productVersion: "477"
clusterConfig:
tls:
internalSecretClass: trino-internal-tls # <1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ metadata:
name: simple-trino
spec:
image:
productVersion: "476"
productVersion: "477"
clusterConfig:
tls:
serverSecretClass: trino-tls # <1>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ metadata:
name: simple-trino
spec:
image:
productVersion: "476"
productVersion: "477"
clusterConfig:
tls:
serverSecretClass: trino-tls # <1>
Expand Down
3 changes: 1 addition & 2 deletions docs/modules/trino/pages/getting_started/installation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ For these components extra steps are required.
** a Stackable xref:secret-operator:index.adoc[Secret Operator] for certificates when deploying for TLS
** a Stackable xref:commons-operator:index.adoc[Commons Operator] for certificates when deploying for TLS authentication
** (for authorization): a Stackable xref:opa:index.adoc[OPA Operator]
** the https://repo.stackable.tech/#browse/browse:packages:trino-cli%2Ftrino-cli-476-executable.jar[Trino CLI] to test
SQL queries
** the https://repo.stackable.tech/#browse/browse:packages:trino-cli%2Ftrino-cli-477[Trino CLI] to test SQL queries

=== S3 bucket

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/trino/pages/usage-guide/OpenTelemetry.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= OpenTelemetry
:description: Ship Trino traces and logs to OpenTelemetry
:trino-docs: https://trino.io/docs/470/admin/opentelemetry.html
:trino-docs: https://trino.io/docs/477/admin/opentelemetry.html

Trino supports sending OpenTelemetry traces as stated in {trino-docs}[the documentation].

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/trino/pages/usage-guide/catalogs/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ metadata:
name: simple-trino
spec:
image:
productVersion: "476"
productVersion: "477"
clusterConfig:
catalogLabelSelector:
matchLabels:
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/trino/pages/usage-guide/connect_to_trino.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ The `--insecure` flag ignores the server TLS certificate and is required in this

[source,console]
----
$ java -jar ~/Downloads/trino-cli-476-executable.jar --server https://85.215.195.29:8443 --user admin --password --insecure
$ trino-cli-477 --server https://85.215.195.29:8443 --user admin --password --insecure
----

TIP: In case you are using OpenID connect, use `--external-authentication` instead of `--password`.
Expand Down
7 changes: 4 additions & 3 deletions docs/modules/trino/partials/supported-versions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// This is a separate file, since it is used by both the direct Trino documentation, and the overarching
// Stackable Platform documentation.

- 476
- 470 (deprecated)
- 451 (LTS)
// These versions must be sorted in descending order (highest to lowest).
- 477 (LTS)
- 476 (deprecated)
- 451 (deprecated)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: simple-trino
spec:
image:
productVersion: "476"
productVersion: "477"
clusterConfig:
authentication:
- authenticationClass: simple-trino-users
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-trino-cluster-hive-ha-s3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
name: simple-trino
spec:
image:
productVersion: "476"
productVersion: "477"
clusterConfig:
catalogLabelSelector:
matchLabels:
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-trino-cluster-resource-limits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: simple-trino
spec:
image:
productVersion: "476"
productVersion: "477"
clusterConfig:
catalogLabelSelector: {}
coordinators:
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-trino-cluster-s3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
name: simple-trino
spec:
image:
productVersion: "476"
productVersion: "477"
clusterConfig:
catalogLabelSelector:
matchLabels:
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-trino-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: simple-trino
spec:
image:
productVersion: "476"
productVersion: "477"
clusterConfig:
catalogLabelSelector:
matchLabels:
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-trino-oauth2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ metadata:
name: simple-trino
spec:
image:
productVersion: "476"
productVersion: "477"
clusterConfig:
authentication:
- authenticationClass: simple-trino-oidc
Expand Down
2 changes: 1 addition & 1 deletion rust/operator-binary/src/authentication/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ mod tests {
fn resolved_product_image() -> ResolvedProductImage {
ResolvedProductImage {
product_version: "".to_string(),
app_version_label_value: "470".parse().expect("static label value is always valid"),
app_version_label_value: "477".parse().expect("static label value is always valid"),
image: "".to_string(),
image_pull_policy: "".to_string(),
pull_secrets: None,
Expand Down
2 changes: 1 addition & 1 deletion rust/operator-binary/src/authentication/password/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ mod tests {
TrinoPasswordAuthentication::new(authenticators)
.password_authentication_config(&ResolvedProductImage {
product_version: "".to_string(),
app_version_label_value: "470".parse().expect("static label value is always valid"),
app_version_label_value: "477".parse().expect("static label value is always valid"),
image: "".to_string(),
image_pull_policy: "".to_string(),
pull_secrets: None,
Expand Down
8 changes: 4 additions & 4 deletions rust/operator-binary/src/config/jvm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ fn recommended_trino_jvm_args(product_version: u16) -> Result<Vec<String>, Error
"-XX:G1NumCollectionsKeepPinned=10000000".to_owned(),
]),
// Copied from:
// - https://trino.io/docs/470/installation/deployment.html#jvm-config
// - https://trino.io/docs/476/installation/deployment.html#jvm-config
470 | 476 => Ok(vec![
// - https://trino.io/docs/477/installation/deployment.html#jvm-config
476 | 477 => Ok(vec![
"-XX:InitialRAMPercentage=80".to_owned(),
"-XX:MaxRAMPercentage=80".to_owned(),
"-XX:G1HeapRegionSize=32M".to_owned(),
Expand Down Expand Up @@ -172,7 +172,7 @@ mod tests {
name: simple-trino
spec:
image:
productVersion: "470"
productVersion: "477"
clusterConfig:
catalogLabelSelector: {}
coordinators:
Expand Down Expand Up @@ -216,7 +216,7 @@ mod tests {
name: simple-trino
spec:
image:
productVersion: "470"
productVersion: "477"
clusterConfig:
catalogLabelSelector: {}
coordinators:
Expand Down
8 changes: 4 additions & 4 deletions rust/operator-binary/src/controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1847,7 +1847,7 @@ mod tests {
name: simple-trino
spec:
image:
productVersion: "470"
productVersion: "477"
clusterConfig:
catalogLabelSelector:
matchLabels:
Expand Down Expand Up @@ -1905,7 +1905,7 @@ mod tests {
name: simple-trino
spec:
image:
productVersion: "470"
productVersion: "477"
clusterConfig:
catalogLabelSelector:
matchLabels:
Expand Down Expand Up @@ -2094,7 +2094,7 @@ mod tests {
name: trino
spec:
image:
productVersion: "470"
productVersion: "477"
clusterConfig:
catalogLabelSelector:
matchLabels:
Expand Down Expand Up @@ -2146,7 +2146,7 @@ mod tests {
name: trino
spec:
image:
productVersion: "470"
productVersion: "477"
clusterConfig:
catalogLabelSelector:
matchLabels:
Expand Down
4 changes: 2 additions & 2 deletions rust/operator-binary/src/crd/affinity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ mod tests {
name: simple-trino
spec:
image:
productVersion: "470"
productVersion: "477"
clusterConfig:
catalogLabelSelector:
matchLabels:
Expand Down Expand Up @@ -203,7 +203,7 @@ mod tests {
name: simple-trino
spec:
image:
productVersion: "470"
productVersion: "477"
clusterConfig:
catalogLabelSelector:
matchLabels:
Expand Down
20 changes: 10 additions & 10 deletions rust/operator-binary/src/crd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@ mod tests {
name: simple-trino
spec:
image:
productVersion: "470"
productVersion: "477"
clusterConfig:
catalogLabelSelector: {}
"#;
Expand All @@ -1047,7 +1047,7 @@ mod tests {
name: simple-trino
spec:
image:
productVersion: "470"
productVersion: "477"
clusterConfig:
catalogLabelSelector: {}
tls:
Expand All @@ -1065,7 +1065,7 @@ mod tests {
name: simple-trino
spec:
image:
productVersion: "470"
productVersion: "477"
clusterConfig:
catalogLabelSelector: {}
tls:
Expand All @@ -1084,7 +1084,7 @@ mod tests {
name: simple-trino
spec:
image:
productVersion: "470"
productVersion: "477"
clusterConfig:
catalogLabelSelector: {}
tls:
Expand All @@ -1105,7 +1105,7 @@ mod tests {
name: simple-trino
spec:
image:
productVersion: "470"
productVersion: "477"
clusterConfig:
catalogLabelSelector: {}
"#;
Expand All @@ -1121,7 +1121,7 @@ mod tests {
name: simple-trino
spec:
image:
productVersion: "470"
productVersion: "477"
clusterConfig:
catalogLabelSelector: {}
tls:
Expand All @@ -1139,7 +1139,7 @@ mod tests {
name: simple-trino
spec:
image:
productVersion: "470"
productVersion: "477"
clusterConfig:
catalogLabelSelector: {}
tls:
Expand All @@ -1161,7 +1161,7 @@ mod tests {
name: simple-trino
spec:
image:
productVersion: "470"
productVersion: "477"
clusterConfig:
catalogLabelSelector: {}
"#;
Expand All @@ -1182,7 +1182,7 @@ mod tests {
name: simple-trino
spec:
image:
productVersion: "470"
productVersion: "477"
clusterConfig:
catalogLabelSelector: {}
workers:
Expand All @@ -1209,7 +1209,7 @@ mod tests {
name: simple-trino
spec:
image:
productVersion: "470"
productVersion: "477"
clusterConfig:
catalogLabelSelector: {}
workers:
Expand Down
4 changes: 0 additions & 4 deletions tests/templates/kuttl/opa-authorization/check-opa.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,7 @@ TEST_DATA = [
{
"query": "SET SESSION iceberg.test=true",
# The requests are authorized, just a fake property
{% if test_scenario['values']['trino'] == '470' %}
"error": "Session property iceberg.test does not exist",
{% else %}
"error": "Session property 'iceberg.test' does not exist",
{% endif %}
},
# ## SCHEMA ##
# ExecuteQuery, AccessCatalog, ShowSchemas, SelectFromColumns, FilterCatalogs, FilterSchemas
Expand Down
Loading
Loading