Skip to content

Commit 42890e6

Browse files
committed
Remove the deprecated pod enrichment controller
Fixes #292
1 parent eaca59f commit 42890e6

File tree

3 files changed

+2
-225
lines changed

3 files changed

+2
-225
lines changed

docs/modules/commons-operator/pages/pod-enrichment.adoc

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

rust/operator-binary/src/main.rs

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
mod pod_enrichment_controller;
21
mod restart_controller;
32

43
use built_info::PKG_VERSION;
@@ -61,18 +60,8 @@ async fn main() -> anyhow::Result<()> {
6160
let sts_restart_controller =
6261
restart_controller::statefulset::start(&client, &watch_namespace);
6362
let pod_restart_controller = restart_controller::pod::start(&client, &watch_namespace);
64-
let pod_enrichment_controller =
65-
pod_enrichment_controller::start(&client, &watch_namespace);
66-
pin_mut!(
67-
sts_restart_controller,
68-
pod_restart_controller,
69-
pod_enrichment_controller
70-
);
71-
futures::future::select(
72-
futures::future::select(sts_restart_controller, pod_restart_controller),
73-
pod_enrichment_controller,
74-
)
75-
.await;
63+
pin_mut!(sts_restart_controller, pod_restart_controller);
64+
futures::future::select(sts_restart_controller, pod_restart_controller).await;
7665
}
7766
}
7867

rust/operator-binary/src/pod_enrichment_controller.rs

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

0 commit comments

Comments
 (0)