Skip to content

Latest commit

 

History

History
358 lines (259 loc) · 16.2 KB

CHANGELOG.md

File metadata and controls

358 lines (259 loc) · 16.2 KB

Changelog

All notable changes to this project will be documented in this file.

[Unreleased]

Added

  • Support row filters and column masks in Rego rules (#559).

Changed

  • BREAKING: Change the username which triggers graceful shutdown from admin to graceful-shutdown-user for more expressiveness (e.g. in the Trino policies). This is a breaking change because users need to ensure that the user graceful-shutdown-user has the required permissions to initiate a graceful shutdown (#573).

[24.3.0] - 2024-03-20

Added

  • Various documentation of the CRD (#510).
  • Helm: support labels in values.yaml (#528).
  • Delta Lake connector (#531).
  • Support for version 442 (#557).
  • Add support for OpenID Connect (#501).

Fixed

  • Add core-site.xml when configuring HDFS connection (#526).

[23.11.0] - 2023-11-24

Added

  • Use graceful shutdown for workers (#461, #463, #466, #474).
  • Default stackableVersion to operator version (#441).
  • Configuration overrides for the JVM security properties, such as DNS caching (#460).
  • Support PodDisruptionBudgets (#481).
  • Added support for version 428 with new opa authorizer (#491).

Fixed

  • Let controller watch AuthenticationClasses (#449).

Changed

Removed

  • Removed support for versions 377, 387, 395, 396, 403 (#491).

[23.7.0] - 2023-07-14

Added

  • Support for Trino v414 (#423).
  • Generate OLM bundle for Release 23.4.0 (#424).
  • Set explicit resources on all containers (#434).
  • Support arbitrary connectors using the generic connector. This allows you to e.g. access your PostgreSQL (#436).
  • Support podOverride (#440).

Fixed

  • Missing CRD defaults for status.conditions field (#425).
  • Fixed always adding query.max-memory-per-node with a fixed value of 1GB (which also didn't work with the new resource defaults). Instead let Trino do it's (JVM max memory * 0.3) thing (#434).
  • Increase the size limit of the log volume (#445).

Changed

  • operator-rs 0.40.2 -> 0.44.0 (#419, #445).
  • Use 0.0.0-dev product images for testing (#421).
  • Use testing-tools 0.2.0 (with new trino client version) (#421).
  • Added kuttl test suites (#437).
  • [BREAKING]: Reworked authentication mechanism: TheclusterConfig.authentication now requires a list of AuthenticationClass references instead of the MultiUser and LDAP separation (#434).

[23.4.0] - 2023-04-17

Added

  • Deploy default and support custom affinities (#391).
  • Cluster status conditions (#403)
  • Openshift compatibility (#404).
  • Extend cluster resources for status and cluster operation (paused, stopped) (#405)

Changed

  • [BREAKING]: Moved top level config options (TLS, Authentication, Authorization etc.) to new top level field clusterConfig (#400).
  • [BREAKING]: Support specifying Service type by moving serviceType (which was an experimental feature) to clusterConfig.listenerClass. This enables us to later switch non-breaking to using ListenerClasses for the exposure of Services. This change is breaking, because - for security reasons - we default to the cluster-internal ListenerClass. If you need your cluster to be accessible from outside of Kubernetes you need to set clusterConfig.listenerClass to external-unstable or external-stable (#406).
  • operator-rs 0.31.0 -> 0.40.2 (#378, #380, #400, #404, #405).
  • Bumped stackable image versions to 23.4.0-rc2 (#378, #380).
  • Fragmented TrinoConfig (#379).
  • Enabled logging and log aggregation (#380).
  • Use operator-rs build_rbac_resources method (#404).

Removed

  • [BREAKING]: Removed log_level from TrinoConfig which is now set via the logging framework struct (#380).

[23.1.0] - 2023-01-23

Added

Changed

  • Updated stackable image versions (#340).
  • operator-rs 0.25.0 -> 0.30.2 (#344, #360, #364).
  • LDAP integration tests create all resources in their namespace and not some in the default namespace (#344).
  • Don't run init container as root and avoid chmod and chowning (#353).
  • [BREAKING]: Use Product image selection instead of version. spec.version has been replaced by spec.image (#356).
  • [BREAKING]: Removed tools image for init container and replaced with Trino product image. This means the latest stackable version has to be used in the product image selection (#357)
  • [BREAKING]: Use user and password Secret keys for LDAP bind credentials Secrets, instead of env var names (#362)
  • Adapted examples and tests to Hive CRD changes (#364).

Fixed

  • Hive catalog now properly handles hive clusters with replicas > 1 (#348).
  • Role group selectors are now applied to the generated StatefulSets (#360).
  • LDAP bind credentials resolution from SecretClasses now works correctly (#367).

[0.8.0] - 2022-11-07

Added

  • Added support for LDAP authentication (#306).
  • Orphaned resources are deleted (#310).

Changed

  • operator-rs 0.22.0 -> 0.25.0 (#306).

Fixed

  • Port 8080 missing from Coordinator service if client TLS is disabled (#311).

[0.7.0] - 2022-09-22

Added

Fixed

  • Fix not adding configOverwrites specified in a TrinoCatalog to the catalog (#289).

[0.6.0] - 2022-09-08

Changed

  • BREAKING: TrinoClusters must specify a catalogLabelSelector. Previously all TrinoCatalogs within the same namespace where used when catalogLabelSelector was not specified, which is unwanted behavior (#277).

[0.5.0] - 2022-09-07

Added

  • Add support for connecting to HDFS (#263).
  • Add support for Hive 3.1.3 (#243).
  • PVCs for data storage, cpu and memory limits are now configurable (#270).
  • Add temporary attribute to support using ClusterIP instead of NodePort service type (#272).

Changed

  • BREAKING: TrinoCatalogs now have their own CRD object and get referenced by the TrinoCluster according to ADR19 and ADR20 (#263).
  • Include chart name when installing with a custom release name (#233, #234).
  • operator-rs 0.21.1 -> 0.22.0 (#235).
  • Internal and client TLS now configurable instead of defaulting to "tls" secret class (#244).
  • S3 TLS properly supported (#244).
  • Introduced global config for TLS settings (#244).

Fixed

  • Add missing role to read S3Connection objects (#263).
  • Disable Hive connector setting that disallow dropping tables. This check is now done by normal Trino authorization (e.g. OPA) (#263).

[0.4.0] - 2022-06-30

Added

  • Reconciliation errors are now reported as Kubernetes events (#149).
  • Use cli argument watch-namespace / env var WATCH_NAMESPACE to specify a single namespace to watch (#157).
  • Moved tests from integration tests repo to operator repo (#211).
  • Added internal-communication.shared-secret property which is read from (operator created secret). Must be set from Trino version 378 (#224).

Changed

  • operator-rs 0.10.0 -> 0.21.1 (#149, #157, #183, #193, #206).
  • BREAKING: The operator now writes a ConfigMap for Rego rules instead of the custom resource for the obsolete regorule-operator. This means that the rego rule operator is not required anymore for authorization and opa-operator tag >= 0.9.0 (#157).
  • BREAKING: OpaConfigMapName in CRD to opa using the OpaConfig from operator-rs (#186).
  • Trino version to 377 (#193).
  • Opa rego example adapted to the new trino-opa-authorizer (#193).
  • BREAKING: Configuration of S3 adapted to ADR016 (#200).
  • BREAKING: Specifying the product version has been changed to adhere to ADR018 instead of just specifying the product version you will now have to add the Stackable image version as well, so version: 3.1.0 becomes (for example) version: 3.1.0-stackable0 (#211)

Removed

  • stackable-regorule-crd dependency (#157).
  • BREAKING: nodeEnvironment from CRD. Will default to the metadata.name field (can be overriden) (#183).
  • BREAKING: Removed authorization module from CRD and code and provided the opa bundle via ConfigMap directly instead of generating it (#186).
  • Possibly BREAKING: Removed query.max-total-memory-per-node config parameter (#193).

[0.3.1] - 2022-02-17

Changed

  • Fixed stackable/data write permission failure in managed cloud (#142).
  • Replaced hardcoded references in init container command to stackable/keystore (#142).

[0.3.0] - 2022-02-14

Added

  • Monitoring scraping label prometheus.io/scrape: true (#118).

Changed

  • BREAKING: CRD changes. The spec.opa and spec.hive renamed to spec.opaConfigMapName and spec.hiveConfigMapName which only accept a String (#131).
  • BREAKING: In case the namespace is omitted, the operator defaults to the TrinoCluster namespace instead of default (#95).
  • User authentication now provided via secret instead of custom resource (#81).
  • User authentication not exposed in configmap anymore (#81).
  • TLS certificates / keystore now retrieved via secret-operator (#81).
  • The Trino version is now a string instead of enum (#81).
  • operator-rs 0.4.00.10.0 (#81, #95, #118).
  • stackable-regorule-crd 0.2.00.6.0 (#81, #118).
  • Improvements to setting up (easy) insecure clusters (#131)

[0.2.0] - 2021-12-06

Changed

  • operator-rs 0.3.00.4.0 (#32).
  • stackable-hive-crd 0.1.00.2.0 (#32).
  • stackable-regorule-crd 0.1.00.2.0 (#32).
  • stackable-opa-crd 0.4.10.5.0 (#32).
  • Adapted pod image and container command to docker image (#32).
  • Adapted documentation to represent new workflow with docker images (#32).

[0.1.0] - 2021-10-28

Changed

  • Switched to operator-rs tag 0.3.0 (#21)