diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d4e6d40..4324b90f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 @@ -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 @@ -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 diff --git a/docs/modules/trino/examples/getting_started/code/trino.yaml b/docs/modules/trino/examples/getting_started/code/trino.yaml index d187bf61..26a0ca1d 100644 --- a/docs/modules/trino/examples/getting_started/code/trino.yaml +++ b/docs/modules/trino/examples/getting_started/code/trino.yaml @@ -5,7 +5,7 @@ metadata: name: simple-trino spec: image: - productVersion: "470" + productVersion: "476" clusterConfig: catalogLabelSelector: matchLabels: diff --git a/docs/modules/trino/examples/usage-guide/trino-insecure.yaml b/docs/modules/trino/examples/usage-guide/trino-insecure.yaml index e5bf9241..2db400a2 100644 --- a/docs/modules/trino/examples/usage-guide/trino-insecure.yaml +++ b/docs/modules/trino/examples/usage-guide/trino-insecure.yaml @@ -17,7 +17,7 @@ metadata: name: simple-trino spec: image: - productVersion: "470" + productVersion: "476" clusterConfig: catalogLabelSelector: matchLabels: diff --git a/docs/modules/trino/examples/usage-guide/trino-secure-internal-tls.yaml b/docs/modules/trino/examples/usage-guide/trino-secure-internal-tls.yaml index a5373192..00b5ce94 100644 --- a/docs/modules/trino/examples/usage-guide/trino-secure-internal-tls.yaml +++ b/docs/modules/trino/examples/usage-guide/trino-secure-internal-tls.yaml @@ -17,7 +17,7 @@ metadata: name: simple-trino spec: image: - productVersion: "470" + productVersion: "476" clusterConfig: tls: internalSecretClass: trino-internal-tls # <1> diff --git a/docs/modules/trino/examples/usage-guide/trino-secure-tls-only.yaml b/docs/modules/trino/examples/usage-guide/trino-secure-tls-only.yaml index d52b423e..7f053008 100644 --- a/docs/modules/trino/examples/usage-guide/trino-secure-tls-only.yaml +++ b/docs/modules/trino/examples/usage-guide/trino-secure-tls-only.yaml @@ -17,7 +17,7 @@ metadata: name: simple-trino spec: image: - productVersion: "470" + productVersion: "476" clusterConfig: tls: serverSecretClass: trino-tls # <1> diff --git a/docs/modules/trino/examples/usage-guide/trino-secure-tls.yaml b/docs/modules/trino/examples/usage-guide/trino-secure-tls.yaml index 1544dfaa..5f923474 100644 --- a/docs/modules/trino/examples/usage-guide/trino-secure-tls.yaml +++ b/docs/modules/trino/examples/usage-guide/trino-secure-tls.yaml @@ -17,7 +17,7 @@ metadata: name: simple-trino spec: image: - productVersion: "470" + productVersion: "476" clusterConfig: tls: serverSecretClass: trino-tls # <1> diff --git a/docs/modules/trino/partials/supported-versions.adoc b/docs/modules/trino/partials/supported-versions.adoc index e32237b1..3b9236b4 100644 --- a/docs/modules/trino/partials/supported-versions.adoc +++ b/docs/modules/trino/partials/supported-versions.adoc @@ -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) diff --git a/examples/simple-trino-cluster-authentication-opa-authorization-s3.yaml b/examples/simple-trino-cluster-authentication-opa-authorization-s3.yaml index da351816..5ef440a3 100644 --- a/examples/simple-trino-cluster-authentication-opa-authorization-s3.yaml +++ b/examples/simple-trino-cluster-authentication-opa-authorization-s3.yaml @@ -5,7 +5,7 @@ metadata: name: simple-trino spec: image: - productVersion: "470" + productVersion: "476" clusterConfig: authentication: - authenticationClass: simple-trino-users diff --git a/examples/simple-trino-cluster-hive-ha-s3.yaml b/examples/simple-trino-cluster-hive-ha-s3.yaml index d846ead7..233acbb1 100644 --- a/examples/simple-trino-cluster-hive-ha-s3.yaml +++ b/examples/simple-trino-cluster-hive-ha-s3.yaml @@ -9,7 +9,7 @@ metadata: name: simple-trino spec: image: - productVersion: "470" + productVersion: "476" clusterConfig: catalogLabelSelector: matchLabels: diff --git a/examples/simple-trino-cluster-resource-limits.yaml b/examples/simple-trino-cluster-resource-limits.yaml index 7aab0243..0128a30f 100644 --- a/examples/simple-trino-cluster-resource-limits.yaml +++ b/examples/simple-trino-cluster-resource-limits.yaml @@ -5,7 +5,7 @@ metadata: name: simple-trino spec: image: - productVersion: "470" + productVersion: "476" clusterConfig: catalogLabelSelector: {} coordinators: diff --git a/examples/simple-trino-cluster-s3.yaml b/examples/simple-trino-cluster-s3.yaml index 4fdcc298..22ffe530 100644 --- a/examples/simple-trino-cluster-s3.yaml +++ b/examples/simple-trino-cluster-s3.yaml @@ -7,7 +7,7 @@ metadata: name: simple-trino spec: image: - productVersion: "470" + productVersion: "476" clusterConfig: catalogLabelSelector: matchLabels: diff --git a/examples/simple-trino-cluster.yaml b/examples/simple-trino-cluster.yaml index 2249836d..c8eaaf55 100644 --- a/examples/simple-trino-cluster.yaml +++ b/examples/simple-trino-cluster.yaml @@ -5,7 +5,7 @@ metadata: name: simple-trino spec: image: - productVersion: "470" + productVersion: "476" clusterConfig: catalogLabelSelector: matchLabels: diff --git a/examples/simple-trino-oauth2.yaml b/examples/simple-trino-oauth2.yaml index edac28e7..74256776 100644 --- a/examples/simple-trino-oauth2.yaml +++ b/examples/simple-trino-oauth2.yaml @@ -91,7 +91,7 @@ metadata: name: simple-trino spec: image: - productVersion: "470" + productVersion: "476" clusterConfig: authentication: - authenticationClass: simple-trino-oidc diff --git a/rust/operator-binary/src/config/jvm.rs b/rust/operator-binary/src/config/jvm.rs index e10613ff..5420594c 100644 --- a/rust/operator-binary/src/config/jvm.rs +++ b/rust/operator-binary/src/config/jvm.rs @@ -129,9 +129,9 @@ fn recommended_trino_jvm_args(product_version: u16) -> Result, 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(), diff --git a/tests/test-definition.yaml b/tests/test-definition.yaml index 9a86f260..6e94b0b8 100644 --- a/tests/test-definition.yaml +++ b/tests/test-definition.yaml @@ -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