Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

## [Unreleased]

### Removed

- BREAKING: Removed the deprecated pod enrichment controller ([#321]).

### Added

- Aggregate emitted Kubernetes events on the CustomResources ([#318]).
Expand All @@ -13,6 +17,7 @@ All notable changes to this project will be documented in this file.
- Append a dot (`.`) to the default cluster domain to reduce DNS requests ([#318]).

[#318]: https://github.com/stackabletech/commons-operator/pull/318
[#321]: https://github.com/stackabletech/commons-operator/pull/321

## [24.11.0] - 2024-11-18

Expand Down
4 changes: 2 additions & 2 deletions docs/modules/commons-operator/pages/index.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
= Stackable Commons Operator
:description: Learn about shared objects (AuthenticationClass, S3Bucket and S3Connection) and shared functionality (Pod enrichting, restarting) on the Stackable Data Platform.
:description: Learn about shared objects (AuthenticationClass, S3Bucket and S3Connection) and shared functionality (restarting) on the Stackable Data Platform.
:github: https://github.com/stackabletech/commons-operator/
:crd: {crd-docs-base-url}/commons-operator/{crd-docs-version}/

Expand All @@ -23,4 +23,4 @@ You can also find the full CRD refererence documentation for all objects linked
== Shared functionality

The commons operator implements functionality that is shared by all other Stackable operators.
For example, it xref:pod-enrichment.adoc[adds additional information to Pods] which would otherwise have to be inferred and takes care of xref:restarter.adoc[restarting] Pods when necessary, for example to reload configuration settings in products that don't support hot reloading.
For example, it takes care of xref:restarter.adoc[restarting] Pods when necessary, for example to reload configuration settings in products that don't support hot reloading.
19 changes: 0 additions & 19 deletions docs/modules/commons-operator/pages/pod-enrichment.adoc

This file was deleted.

3 changes: 0 additions & 3 deletions docs/modules/commons-operator/pages/usage.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,3 @@ The commons-operator is used for multiple purposes:
|xref:restarter.adoc[]
|A controller that watches Pod objects and their controllers and restarts them when required.

|xref:pod-enrichment.adoc[]
|A controller that adds commonly used information to Pod objects.
|===
1 change: 0 additions & 1 deletion docs/modules/commons-operator/partials/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* xref:commons-operator:usage.adoc[]
* Concepts
** xref:commons-operator:restarter.adoc[]
** xref:commons-operator:pod-enrichment.adoc[]
* xref:commons-operator:reference/index.adoc[]
** xref:commons-operator:reference/crds.adoc[]
*** {crd-docs}/authentication.stackable.tech/authenticationclass/v1alpha1/[AuthenticationClass {external-link-icon}^]
Expand Down
15 changes: 2 additions & 13 deletions rust/operator-binary/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
mod pod_enrichment_controller;
mod restart_controller;

use built_info::PKG_VERSION;
Expand Down Expand Up @@ -61,18 +60,8 @@ async fn main() -> anyhow::Result<()> {
let sts_restart_controller =
restart_controller::statefulset::start(&client, &watch_namespace);
let pod_restart_controller = restart_controller::pod::start(&client, &watch_namespace);
let pod_enrichment_controller =
pod_enrichment_controller::start(&client, &watch_namespace);
pin_mut!(
sts_restart_controller,
pod_restart_controller,
pod_enrichment_controller
);
futures::future::select(
futures::future::select(sts_restart_controller, pod_restart_controller),
pod_enrichment_controller,
)
.await;
pin_mut!(sts_restart_controller, pod_restart_controller);
futures::future::select(sts_restart_controller, pod_restart_controller).await;
}
}

Expand Down
193 changes: 0 additions & 193 deletions rust/operator-binary/src/pod_enrichment_controller.rs

This file was deleted.

Loading