Skip to content

Commit dff9ff8

Browse files
chore: Remove product-config and product_config_utils (#1252)
* chore: Remove product config * chore: Remove unused code * chore: Update changelog * Remove unused dependency tempfile * chore: Fix clippy warnings * chore: Improve code style * Remove comment mentioning product config
1 parent 0e54425 commit dff9ff8

14 files changed

Lines changed: 255 additions & 2131 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ edition = "2024"
99
repository = "https://github.com/stackabletech/operator-rs"
1010

1111
[workspace.dependencies]
12-
product-config = { git = "https://github.com/stackabletech/product-config.git", tag = "0.8.0" }
13-
1412
arc-swap = "1.7.0"
1513
async-trait = "0.1.89"
1614
axum = { version = "0.8.1", features = ["http2"] }
@@ -85,7 +83,6 @@ stackable-operator-derive = { path = "stackable-operator-derive" }
8583
strum = { version = "0.28.0", features = ["derive"] }
8684
syn = "2.0.118"
8785
sysinfo = "0.39.5"
88-
tempfile = "3.12.0"
8986
time = { version = "0.3.49" }
9087
tokio = { version = "1.40.0", features = ["macros", "rt-multi-thread", "fs"] }
9188
# We use ring instead of aws-lc-rs, as this currently fails to build in "make run-dev"

crates/stackable-operator/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,13 @@ All notable changes to this project will be documented in this file.
1515
- [v2] BREAKING: Converting an `EnvVarSet` into a `Vec<EnvVar>` takes dependencies between
1616
environment variables into account ([#1249]).
1717

18+
### Removed
19+
20+
- [v2] BREAKING: Remove dependency to product-config and the product_config_utils module ([#1252]).
21+
1822
[#1249]: https://github.com/stackabletech/operator-rs/pull/1249
1923
[#1251]: https://github.com/stackabletech/operator-rs/pull/1251
24+
[#1252]: https://github.com/stackabletech/operator-rs/pull/1252
2025

2126
## [0.113.4] - 2026-07-09
2227

crates/stackable-operator/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ jiff.workspace = true
4242
json-patch = { workspace = true, features = ["schemars"] }
4343
k8s-openapi.workspace = true
4444
kube.workspace = true
45-
product-config.workspace = true
4645
rand.workspace = true
4746
regex.workspace = true
4847
schemars.workspace = true
@@ -65,7 +64,6 @@ xml.workspace = true
6564
[dev-dependencies]
6665
indoc.workspace = true
6766
rstest.workspace = true
68-
tempfile.workspace = true
6967

7068
[lints]
7169
workspace = true

crates/stackable-operator/src/cli/mod.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,9 @@ use crate::{namespace::WatchNamespace, utils::cluster_info::KubernetesClusterInf
88

99
mod environment;
1010
mod maintenance;
11-
mod product_config;
1211

1312
pub use environment::*;
1413
pub use maintenance::*;
15-
pub use product_config::*;
1614

1715
// NOTE (@Techassi): Why the hell is this here? Let's get rid of it.
1816
pub const AUTHOR: &str = "Stackable GmbH - info@stackable.tech";
@@ -80,10 +78,6 @@ pub enum Command<Run: Args = RunArguments> {
8078
#[derive(Debug, PartialEq, Eq, Parser)]
8179
#[command(long_about = "")]
8280
pub struct RunArguments {
83-
/// Provides the path to a product-config file
84-
#[arg(long, short = 'p', value_name = "FILE", default_value = "", env)]
85-
pub product_config: ProductConfigPath,
86-
8781
// TODO (@Techassi): This should be moved into the environment options
8882
/// Provides a specific namespace to watch (instead of watching all namespaces)
8983
#[arg(long, env, default_value = "")]

crates/stackable-operator/src/cli/product_config.rs

Lines changed: 0 additions & 173 deletions
This file was deleted.

0 commit comments

Comments
 (0)