Skip to content

chore: Add 476, deprecate 470, remove 455 #755

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jun 12, 2025
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
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file.
- Use `--file-log-max-files` (or `FILE_LOG_MAX_FILES`) to limit the number of log files kept.
- Use `--file-log-rotation-period` (or `FILE_LOG_ROTATION_PERIOD`) to configure the frequency of rotation.
- Use `--console-log-format` (or `CONSOLE_LOG_FORMAT`) to set the format to `plain` (default) or `json`.
- Add support for Trino 476 ([#755]).

### Changed

Expand All @@ -29,12 +30,17 @@ All notable changes to this project will be documented in this file.
- The `runAsUser` and `runAsGroup` fields will not be set anymore by the operator
- The defaults from the docker images itself will now apply, which will be different from 1000/0 going forward
- This is marked as breaking because tools and policies might exist, which require these fields to be set
- Deprecate Trino 470 ([#755]).

### Fixed

- Use `json` file extension for log files ([#733]).
- Fix a bug where changes to ConfigMaps that are referenced in the TrinoCluster spec didn't trigger a reconciliation ([#734]).

### Removed

- Remove support for Trino 455 ([#755]).

[#728]: https://github.com/stackabletech/trino-operator/pull/728
[#734]: https://github.com/stackabletech/trino-operator/pull/734
[#733]: https://github.com/stackabletech/trino-operator/pull/733
Expand All @@ -45,6 +51,7 @@ All notable changes to this project will be documented in this file.
[#745]: https://github.com/stackabletech/trino-operator/pull/745
[#748]: https://github.com/stackabletech/trino-operator/pull/748
[#752]: https://github.com/stackabletech/trino-operator/pull/752
[#755]: https://github.com/stackabletech/trino-operator/pull/755

## [25.3.0] - 2025-03-21

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: "470"
productVersion: "476"
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: "470"
productVersion: "476"
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: "470"
productVersion: "476"
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: "470"
productVersion: "476"
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: "470"
productVersion: "476"
clusterConfig:
tls:
serverSecretClass: trino-tls # <1>
Expand Down
4 changes: 2 additions & 2 deletions docs/modules/trino/partials/supported-versions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
// This is a separate file, since it is used by both the direct Trino documentation, and the overarching
// Stackable Platform documentation.

- 470
- 455 (deprecated)
- 476
- 470 (deprecated)
- 451 (LTS)
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: simple-trino
spec:
image:
productVersion: "470"
productVersion: "476"
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: "470"
productVersion: "476"
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: "470"
productVersion: "476"
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: "470"
productVersion: "476"
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: "470"
productVersion: "476"
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: "470"
productVersion: "476"
clusterConfig:
authentication:
- authenticationClass: simple-trino-oidc
Expand Down
4 changes: 2 additions & 2 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/455/installation/deployment.html#jvm-config
// - https://trino.io/docs/470/installation/deployment.html#jvm-config
455 | 470 => Ok(vec![
// - https://trino.io/docs/476/installation/deployment.html#jvm-config
470 | 476 => Ok(vec![
"-XX:InitialRAMPercentage=80".to_owned(),
"-XX:MaxRAMPercentage=80".to_owned(),
"-XX:G1HeapRegionSize=32M".to_owned(),
Expand Down
4 changes: 2 additions & 2 deletions tests/test-definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ dimensions:
- name: trino
values:
- "451"
- "455"
- "470"
- "476"
# To use a custom image, add a comma and the full name after the product version
# - 470,oci.stackable.tech/sdp/trino:470-stackable0.0.0-dev
- name: trino-latest
values:
- "470"
- "476"
# To use a custom image, add a comma and the full name after the product version
# - 470,oci.stackable.tech/sdp/trino:470-stackable0.0.0-dev
- name: hive
Expand Down