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
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ All notable changes to this project will be documented in this file.

### Changed

- Bump stackable-operator to 0.106.2, snafu to 0.9, strum to 0.28 ([#855]).
- Bump stackable-operator to 0.108.0, snafu to 0.9, strum to 0.28 ([#855], [#859]).
- Gracefully shutdown all concurrent tasks by forwarding the SIGTERM signal ([#843]).
- Pin k8s-openapi to `0.26.0` ([#831]).
- BREAKING: The field `opa` in `authorization` is now a mandatory enum variant instead of being optional ([#827]).
Expand All @@ -28,6 +28,7 @@ All notable changes to this project will be documented in this file.
### Fixed

- Kuttl tests where catalogs are created after the Trino cluster. These tests failed on Kubernetes 1.35 because the Trino pods were missing catalog information ([#857]).
- Fix "404 page not found" error for the initial object list ([#859]).

### Removed

Expand All @@ -42,6 +43,7 @@ All notable changes to this project will be documented in this file.
[#848]: https://github.com/stackabletech/trino-operator/pull/848
[#855]: https://github.com/stackabletech/trino-operator/pull/855
[#857]: https://github.com/stackabletech/trino-operator/pull/857
[#859]: https://github.com/stackabletech/trino-operator/pull/859

## [25.11.0] - 2025-11-07

Expand Down
22 changes: 11 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

55 changes: 27 additions & 28 deletions Cargo.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repository = "https://github.com/stackabletech/trino-operator"

[workspace.dependencies]
product-config = { git = "https://github.com/stackabletech/product-config.git", tag = "0.8.0" }
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.106.2", features = ["telemetry", "versioned", "webhook"] }
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.108.0", features = ["webhook"] }

anyhow = "1.0"
async-trait = "0.1"
Expand Down
18 changes: 9 additions & 9 deletions crate-hashes.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions deploy/helm/trino-operator/templates/roles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ rules:
{{- if .Values.maintenance.customResourceDefinitions.maintain }}
- create
- patch
# Required for startup condition
- list
- watch
{{- end }}
- apiGroups:
- listeners.stackable.tech
Expand Down
13 changes: 9 additions & 4 deletions rust/operator-binary/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use stackable_operator::{
core::v1::{ConfigMap, Service},
},
kube::{
ResourceExt,
CustomResourceExt as _, ResourceExt,
core::DeserializeGuard,
runtime::{
Controller,
Expand All @@ -29,7 +29,7 @@ use stackable_operator::{
logging::controller::report_controller_reconciled,
shared::yaml::SerializeOptions,
telemetry::Tracing,
utils::signal::SignalWatcher,
utils::signal::{self, SignalWatcher},
};

use crate::{
Expand Down Expand Up @@ -147,7 +147,7 @@ async fn main() -> anyhow::Result<()> {
let authentication_class_cluster_store = cluster_controller.store();
let config_map_cluster_store = cluster_controller.store();

let cluster_controller = cluster_controller
let trino_controller = cluster_controller
.owns(
watch_namespace.get_api::<DeserializeGuard<Service>>(&client),
watcher::Config::default(),
Expand Down Expand Up @@ -226,7 +226,12 @@ async fn main() -> anyhow::Result<()> {
)
.map(anyhow::Ok);

futures::try_join!(cluster_controller, eos_checker, webhook_server)?;
let delayed_trino_controller = async {
signal::crd_established(&client, v1alpha1::TrinoCluster::crd_name(), None).await?;
trino_controller.await
};

futures::try_join!(delayed_trino_controller, eos_checker, webhook_server)?;
}
}

Expand Down
Loading