Skip to content

Commit b4e4b20

Browse files
authored
chore: Bump stackable-operator to 0.107.1 (#404)
* fix: Delay controller startup to avoid 404 in initial list * chore: Add changelog entry * chore: Bump stackable-operator to 0.107.1 * chore: Controller startup doesn't need to be delayed
1 parent b43207d commit b4e4b20

7 files changed

Lines changed: 53 additions & 51 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ All notable changes to this project will be documented in this file.
1010

1111
### Changed
1212

13-
- Bump stackable-operator to 0.106.2, and strum to 0.28 ([#401]).
13+
- Bump stackable-operator to 0.107.1, and strum to 0.28 ([#401], [#404]).
1414
- Gracefully shutdown all concurrent tasks by forwarding the SIGTERM signal ([#396]).
1515

1616
### Fixed
@@ -25,6 +25,7 @@ All notable changes to this project will be documented in this file.
2525
[#396]: https://github.com/stackabletech/commons-operator/pull/396
2626
[#400]: https://github.com/stackabletech/commons-operator/pull/400
2727
[#401]: https://github.com/stackabletech/commons-operator/pull/401
28+
[#404]: https://github.com/stackabletech/commons-operator/pull/404
2829

2930
## [25.11.0] - 2025-11-07
3031

Cargo.lock

Lines changed: 11 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: 18 additions & 19 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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ edition = "2021"
1010
repository = "https://github.com/stackabletech/commons-operator"
1111

1212
[workspace.dependencies]
13-
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.106.2", features = ["telemetry", "webhook"] }
13+
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.107.1", features = ["crds", "webhook"] }
1414

1515
anyhow = "1.0"
1616
built = { version = "0.8", features = ["chrono", "git2"] }

crate-hashes.json

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

rust/operator-binary/src/main.rs

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,18 @@ async fn main() -> anyhow::Result<()> {
107107
.await?;
108108

109109
let (ctx, cm_store_tx, secret_store_tx) = create_context(client.clone());
110-
let sts_restart_controller = restart_controller::statefulset::start(
110+
111+
let webhook_server = create_webhook_server(
111112
ctx.clone(),
113+
&operator_environment,
114+
disable_restarter_mutating_webhook,
115+
maintenance.disable_crd_maintenance,
116+
client.as_kube_client(),
117+
)
118+
.await?;
119+
120+
let sts_restart_controller = restart_controller::statefulset::start(
121+
ctx,
112122
cm_store_tx,
113123
secret_store_tx,
114124
&watch_namespace,
@@ -120,15 +130,6 @@ async fn main() -> anyhow::Result<()> {
120130
restart_controller::pod::start(&client, &watch_namespace, sigterm_watcher.handle())
121131
.map(anyhow::Ok);
122132

123-
let webhook_server = create_webhook_server(
124-
ctx,
125-
&operator_environment,
126-
disable_restarter_mutating_webhook,
127-
maintenance.disable_crd_maintenance,
128-
client.as_kube_client(),
129-
)
130-
.await?;
131-
132133
let webhook_server = webhook_server
133134
.run(sigterm_watcher.handle())
134135
.map_err(|err| anyhow!(err).context("failed to run webhook"));

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ pub async fn create_webhook_server(
4444
webhook_namespace: operator_environment.operator_namespace.to_owned(),
4545
webhook_service_name: operator_environment.operator_service_name.to_owned(),
4646
};
47+
4748
WebhookServer::new(webhooks, webhook_options)
4849
.await
4950
.context(CreateWebhookServerSnafu)

0 commit comments

Comments
 (0)