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 @@ -11,21 +11,26 @@

### Changed

- Bump stackable-operator to 0.106.2, snafu to 0.9, strum to 0.28 ([#706]).
- Bump stackable-operator to 0.108.0, snafu to 0.9, strum to 0.28 ([#706], [#708]).
- Gracefully shutdown all concurrent tasks by forwarding the SIGTERM signal ([#699]).
- Bump testing-tools to `0.3.0-stackable0.0.0-dev` ([#691]).

### Removed

- Remove support for Superset 4.0.2 and 4.1.2 ([#695]).

### Fixed

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

[#680]: https://github.com/stackabletech/superset-operator/pull/680
[#691]: https://github.com/stackabletech/superset-operator/pull/691
[#693]: https://github.com/stackabletech/superset-operator/pull/693
[#695]: https://github.com/stackabletech/superset-operator/pull/695
[#699]: https://github.com/stackabletech/superset-operator/pull/699
[#702]: https://github.com/stackabletech/superset-operator/pull/702
[#706]: https://github.com/stackabletech/superset-operator/pull/706
[#708]: https://github.com/stackabletech/superset-operator/pull/708

## [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/superset-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"
built = { version = "0.8", features = ["chrono", "git2"] }
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/superset-operator/templates/roles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ rules:
{{- if .Values.maintenance.customResourceDefinitions.maintain }}
- create
- patch
# Required for startup condition
- list
- watch
{{- end }}
- apiGroups:
- events.k8s.io
Expand Down
27 changes: 23 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 @@ -292,10 +292,29 @@ async fn main() -> anyhow::Result<()> {
)
.map(anyhow::Ok);

let delayed_druid_connection_controller = async {
signal::crd_established(
&client,
druidconnection::v1alpha1::DruidConnection::crd_name(),
None,
)
.await?;
// The druid_controller also watches SupersetCluster
signal::crd_established(&client, v1alpha1::SupersetCluster::crd_name(), None)
.await?;
druid_connection_controller.await
};

let delayed_superset_controller = async {
signal::crd_established(&client, v1alpha1::SupersetCluster::crd_name(), None)
.await?;
superset_controller.await
};

// kube-runtime's Controller will tokio::spawn each reconciliation, so this only concerns the internal watch machinery
futures::try_join!(
druid_connection_controller,
superset_controller,
delayed_druid_connection_controller,
delayed_superset_controller,
webhook_server,
eos_checker
)?;
Expand Down
Loading