Skip to content

Commit 4940939

Browse files
authored
chore: Add 476, deprecate 470, remove 455 (#755)
* docs: Update supported versions list * chore: Add operator support for 476 (remove 455) * test: Add 476, remove 455 * docs: Replace 470 with 476 * chore: Update changelog * test: Flip condition that checks output * Revert "test: Flip condition that checks output" It turns out only Trino 470 has the different error output This reverts commit b8b6e78.
1 parent e0b1487 commit 4940939

15 files changed

+24
-17
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file.
1010
- Use `--file-log-max-files` (or `FILE_LOG_MAX_FILES`) to limit the number of log files kept.
1111
- Use `--file-log-rotation-period` (or `FILE_LOG_ROTATION_PERIOD`) to configure the frequency of rotation.
1212
- Use `--console-log-format` (or `CONSOLE_LOG_FORMAT`) to set the format to `plain` (default) or `json`.
13+
- Add support for Trino 476 ([#755]).
1314

1415
### Changed
1516

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

3335
### Fixed
3436

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

40+
### Removed
41+
42+
- Remove support for Trino 455 ([#755]).
43+
3844
[#728]: https://github.com/stackabletech/trino-operator/pull/728
3945
[#734]: https://github.com/stackabletech/trino-operator/pull/734
4046
[#733]: https://github.com/stackabletech/trino-operator/pull/733
@@ -45,6 +51,7 @@ All notable changes to this project will be documented in this file.
4551
[#745]: https://github.com/stackabletech/trino-operator/pull/745
4652
[#748]: https://github.com/stackabletech/trino-operator/pull/748
4753
[#752]: https://github.com/stackabletech/trino-operator/pull/752
54+
[#755]: https://github.com/stackabletech/trino-operator/pull/755
4855

4956
## [25.3.0] - 2025-03-21
5057

docs/modules/trino/examples/getting_started/code/trino.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: simple-trino
66
spec:
77
image:
8-
productVersion: "470"
8+
productVersion: "476"
99
clusterConfig:
1010
catalogLabelSelector:
1111
matchLabels:

docs/modules/trino/examples/usage-guide/trino-insecure.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ metadata:
1717
name: simple-trino
1818
spec:
1919
image:
20-
productVersion: "470"
20+
productVersion: "476"
2121
clusterConfig:
2222
catalogLabelSelector:
2323
matchLabels:

docs/modules/trino/examples/usage-guide/trino-secure-internal-tls.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ metadata:
1717
name: simple-trino
1818
spec:
1919
image:
20-
productVersion: "470"
20+
productVersion: "476"
2121
clusterConfig:
2222
tls:
2323
internalSecretClass: trino-internal-tls # <1>

docs/modules/trino/examples/usage-guide/trino-secure-tls-only.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ metadata:
1717
name: simple-trino
1818
spec:
1919
image:
20-
productVersion: "470"
20+
productVersion: "476"
2121
clusterConfig:
2222
tls:
2323
serverSecretClass: trino-tls # <1>

docs/modules/trino/examples/usage-guide/trino-secure-tls.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ metadata:
1717
name: simple-trino
1818
spec:
1919
image:
20-
productVersion: "470"
20+
productVersion: "476"
2121
clusterConfig:
2222
tls:
2323
serverSecretClass: trino-tls # <1>

docs/modules/trino/partials/supported-versions.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
// This is a separate file, since it is used by both the direct Trino documentation, and the overarching
33
// Stackable Platform documentation.
44

5-
- 470
6-
- 455 (deprecated)
5+
- 476
6+
- 470 (deprecated)
77
- 451 (LTS)

examples/simple-trino-cluster-authentication-opa-authorization-s3.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: simple-trino
66
spec:
77
image:
8-
productVersion: "470"
8+
productVersion: "476"
99
clusterConfig:
1010
authentication:
1111
- authenticationClass: simple-trino-users

examples/simple-trino-cluster-hive-ha-s3.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ metadata:
99
name: simple-trino
1010
spec:
1111
image:
12-
productVersion: "470"
12+
productVersion: "476"
1313
clusterConfig:
1414
catalogLabelSelector:
1515
matchLabels:

examples/simple-trino-cluster-resource-limits.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: simple-trino
66
spec:
77
image:
8-
productVersion: "470"
8+
productVersion: "476"
99
clusterConfig:
1010
catalogLabelSelector: {}
1111
coordinators:

examples/simple-trino-cluster-s3.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
name: simple-trino
88
spec:
99
image:
10-
productVersion: "470"
10+
productVersion: "476"
1111
clusterConfig:
1212
catalogLabelSelector:
1313
matchLabels:

examples/simple-trino-cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: simple-trino
66
spec:
77
image:
8-
productVersion: "470"
8+
productVersion: "476"
99
clusterConfig:
1010
catalogLabelSelector:
1111
matchLabels:

examples/simple-trino-oauth2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ metadata:
9191
name: simple-trino
9292
spec:
9393
image:
94-
productVersion: "470"
94+
productVersion: "476"
9595
clusterConfig:
9696
authentication:
9797
- authenticationClass: simple-trino-oidc

rust/operator-binary/src/config/jvm.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ fn recommended_trino_jvm_args(product_version: u16) -> Result<Vec<String>, Error
129129
"-XX:G1NumCollectionsKeepPinned=10000000".to_owned(),
130130
]),
131131
// Copied from:
132-
// - https://trino.io/docs/455/installation/deployment.html#jvm-config
133132
// - https://trino.io/docs/470/installation/deployment.html#jvm-config
134-
455 | 470 => Ok(vec![
133+
// - https://trino.io/docs/476/installation/deployment.html#jvm-config
134+
470 | 476 => Ok(vec![
135135
"-XX:InitialRAMPercentage=80".to_owned(),
136136
"-XX:MaxRAMPercentage=80".to_owned(),
137137
"-XX:G1HeapRegionSize=32M".to_owned(),

tests/test-definition.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ dimensions:
2020
- name: trino
2121
values:
2222
- "451"
23-
- "455"
2423
- "470"
24+
- "476"
2525
# To use a custom image, add a comma and the full name after the product version
2626
# - 470,oci.stackable.tech/sdp/trino:470-stackable0.0.0-dev
2727
- name: trino-latest
2828
values:
29-
- "470"
29+
- "476"
3030
# To use a custom image, add a comma and the full name after the product version
3131
# - 470,oci.stackable.tech/sdp/trino:470-stackable0.0.0-dev
3232
- name: hive

0 commit comments

Comments
 (0)