From 8725b8b1e74512241917405d7f26a6b443a54c9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Natalie=20Klestrup=20R=C3=B6ijezon?= Date: Wed, 30 Oct 2024 10:10:55 +0100 Subject: [PATCH] Add deprecation warning for pod enricher See #292 --- docs/modules/commons-operator/pages/pod-enrichment.adoc | 2 ++ rust/operator-binary/src/pod_enrichment_controller.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/modules/commons-operator/pages/pod-enrichment.adoc b/docs/modules/commons-operator/pages/pod-enrichment.adoc index 05eaa08..4097798 100644 --- a/docs/modules/commons-operator/pages/pod-enrichment.adoc +++ b/docs/modules/commons-operator/pages/pod-enrichment.adoc @@ -1,6 +1,8 @@ = Pod enricher :description: Use Labels to instruct the Stackable Commons Operator to enrich Pods with Kubernetes node addresses +WARNING: The pod enricher is deprecated as of the Stackable Data Platform 24.11, and will be removed in the next release. For more information, see https://github.com/stackabletech/commons-operator/issues/292[issue #292]. + The Stackable Commons Operator automatically adds commonly used information to Pod objects, which would otherwise have to be inferred by traversing the Kubernetes object graph. == Usage diff --git a/rust/operator-binary/src/pod_enrichment_controller.rs b/rust/operator-binary/src/pod_enrichment_controller.rs index a84d81c..9ed35ae 100644 --- a/rust/operator-binary/src/pod_enrichment_controller.rs +++ b/rust/operator-binary/src/pod_enrichment_controller.rs @@ -1,3 +1,5 @@ +// Deprecated for removal, see https://github.com/stackabletech/commons-operator/issues/292 + use std::{collections::BTreeMap, str::FromStr, sync::Arc, time::Duration}; use futures::StreamExt;