Skip to content

Commit f251693

Browse files
committed
chore: Bump stackable-operator and use re-exports
1 parent b46703c commit f251693

File tree

8 files changed

+77
-58
lines changed

8 files changed

+77
-58
lines changed

Cargo.lock

Lines changed: 13 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.nix

Lines changed: 48 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ repository = "https://github.com/stackabletech/spark-k8s-operator"
1111

1212
[workspace.dependencies]
1313
product-config = { git = "https://github.com/stackabletech/product-config.git", tag = "0.7.0" }
14-
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.90.0" }
15-
stackable-telemetry = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-telemetry-0.4.0" }
16-
stackable-versioned = { git = "https://github.com/stackabletech/operator-rs.git", features = ["k8s"], tag = "stackable-versioned-0.7.1" }
14+
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", features = ["telemetry", "versioned"], tag = "stackable-operator-0.91.1" }
1715

1816
anyhow = "1.0"
1917
built = { version = "0.7", features = ["chrono", "git2"] }

crate-hashes.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/operator-binary/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ publish = false
1111
[dependencies]
1212
product-config.workspace = true
1313
stackable-operator.workspace = true
14-
stackable-telemetry.workspace = true
15-
stackable-versioned.workspace = true
1614

1715
anyhow.workspace = true
1816
const_format.workspace = true

rust/operator-binary/src/crd/history.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ use stackable_operator::{
2727
role_utils::{GenericRoleConfig, JavaCommonConfig, Role, RoleGroup, RoleGroupRef},
2828
schemars::{self, JsonSchema},
2929
time::Duration,
30+
versioned::versioned,
3031
};
31-
use stackable_versioned::versioned;
3232
use strum::{Display, EnumIter};
3333

3434
use crate::{

rust/operator-binary/src/crd/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ use stackable_operator::{
4141
schemars::{self, JsonSchema},
4242
time::Duration,
4343
utils::crds::raw_object_list_schema,
44+
versioned::versioned,
4445
};
45-
use stackable_versioned::versioned;
4646

4747
use crate::{
4848
config::jvm::construct_extra_java_options,

rust/operator-binary/src/main.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
use std::{ops::Deref as _, sync::Arc};
1+
use std::sync::Arc;
22

33
use clap::Parser;
44
use futures::{StreamExt, pin_mut};
55
use history::history_controller;
66
use product_config::ProductConfigManager;
77
use stackable_operator::{
88
YamlSchema,
9-
cli::{Command, ProductOperatorRun, RollingPeriod},
9+
cli::{Command, ProductOperatorRun},
1010
k8s_openapi::api::{
1111
apps::v1::StatefulSet,
1212
core::v1::{ConfigMap, Pod, Service},
@@ -21,8 +21,11 @@ use stackable_operator::{
2121
},
2222
logging::controller::report_controller_reconciled,
2323
shared::yaml::SerializeOptions,
24+
telemetry::{
25+
Tracing,
26+
tracing::{RollingPeriod, settings::Settings},
27+
},
2428
};
25-
use stackable_telemetry::{Tracing, tracing::settings::Settings};
2629
use tracing::{info_span, level_filters::LevelFilter};
2730
use tracing_futures::Instrument;
2831

@@ -96,7 +99,6 @@ async fn main() -> anyhow::Result<()> {
9699
let rotation_period = telemetry_arguments
97100
.rolling_logs_period
98101
.unwrap_or(RollingPeriod::Never)
99-
.deref()
100102
.clone();
101103

102104
Settings::builder()

0 commit comments

Comments
 (0)