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

### Changed

- Bump stackable-operator to 0.106.2 and strum to 0.28 ([#373]).
- Bump stackable-operator to 0.108.0 and strum to 0.28 ([#373], [#375]).
- The operator now deploys the selected ListenerClass preset instead of relying on Helm ([#369]).
- This mechanism is currently tied to CRD maintenance.
- Gracefully shutdown all concurrent tasks by forwarding the SIGTERM signal ([#366]).
Expand All @@ -23,6 +23,10 @@ All notable changes to this project will be documented in this file.
This behaviour is in line with the default behaviour of Helm and OLM.
- Bump testing-tools to `0.3.0-stackable0.0.0-dev` ([#363]).

### Fixed

- Fix "404 page not found" error for the initial object list ([#375]).

[#360]: https://github.com/stackabletech/listener-operator/pull/360
[#363]: https://github.com/stackabletech/listener-operator/pull/363
[#364]: https://github.com/stackabletech/listener-operator/pull/364
Expand All @@ -31,6 +35,7 @@ All notable changes to this project will be documented in this file.
[#368]: https://github.com/stackabletech/listener-operator/pull/368
[#369]: https://github.com/stackabletech/listener-operator/pull/369
[#373]: https://github.com/stackabletech/listener-operator/pull/373
[#375]: https://github.com/stackabletech/listener-operator/pull/375

## [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.

57 changes: 28 additions & 29 deletions Cargo.nix

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

5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ edition = "2021"
repository = "https://github.com/stackabletech/listener-operator"

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

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/listener-operator/templates/roles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,7 @@ rules:
verbs:
- create
- patch
# Required for startup condition
- list
- watch
{{ end }}
3 changes: 1 addition & 2 deletions rust/olm-deployer/src/env/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ fn deployer_env_var(deployment: &Deployment) -> Option<&Vec<EnvVar>> {
.as_ref()?
.containers
.iter()
.filter(|c| c.name == "listener-operator-deployer")
.next_back()?
.rfind(|c| c.name == "listener-operator-deployer")?
.env
.as_ref()
}
Expand Down
3 changes: 1 addition & 2 deletions rust/olm-deployer/src/resources/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ fn deployment_resources(deployment: &Deployment) -> Option<&ResourceRequirements
.as_ref()?
.containers
.iter()
.filter(|c| c.name == "listener-operator-deployer")
.next_back()?
.rfind(|c| c.name == "listener-operator-deployer")?
.resources
.as_ref()
}
Expand Down
10 changes: 2 additions & 8 deletions rust/operator-binary/src/listener_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,17 +124,11 @@ where
},
)
.graceful_shutdown_on(shutdown_signal)
.run(
reconcile,
error_policy,
Arc::new(Ctx {
client: client.clone(),
}),
)
.run(reconcile, error_policy, Arc::new(Ctx { client }))
// We can let the reporting happen in the background
.for_each_concurrent(
16, // concurrency limit
|result| {
move |result| {
// The event_recorder needs to be shared across all invocations, so that
// events are correctly aggregated
let event_recorder = event_recorder.clone();
Expand Down
15 changes: 11 additions & 4 deletions rust/operator-binary/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ use stackable_operator::{
PodListenersVersion, v1alpha1,
},
eos::EndOfSupportChecker,
kube::ResourceExt,
kube::{CustomResourceExt, ResourceExt},
shared::yaml::SerializeOptions,
telemetry::Tracing,
utils::signal::SignalWatcher,
utils::signal::{self, SignalWatcher},
};
use tokio::sync::oneshot;
use tokio_stream::wrappers::UnixListenerStream;
Expand Down Expand Up @@ -211,14 +211,21 @@ async fn main() -> anyhow::Result<()> {
.map_err(|err| anyhow!(err).context("failed to run csi server"));

let controller =
listener_controller::run(client, sigterm_watcher.handle()).map(anyhow::Ok);
listener_controller::run(client.clone(), sigterm_watcher.handle())
.map(anyhow::Ok);

let delayed_controller = async {
signal::crd_established(&client, v1alpha1::Listener::crd_name(), None)
.await?;
controller.await
};

futures::try_join!(
delayed_controller,
listener_classes,
webhook_server,
eos_checker,
csi_server,
controller,
)?;
}
RunMode::Node => {
Expand Down
Loading