From fcd9ee2cb385354047583acd439cf6934ddcad27 Mon Sep 17 00:00:00 2001 From: Sebastian Bernauer Date: Tue, 13 Jan 2026 12:31:04 +0100 Subject: [PATCH 1/2] feat: Add RESTART_CONTROLLER_ENABLED_LABEL constant --- crates/stackable-operator/CHANGELOG.md | 2 ++ crates/stackable-operator/src/constants/mod.rs | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/crates/stackable-operator/CHANGELOG.md b/crates/stackable-operator/CHANGELOG.md index 08d40bcab..8b561748f 100644 --- a/crates/stackable-operator/CHANGELOG.md +++ b/crates/stackable-operator/CHANGELOG.md @@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file. ### Added - BREAKING: Add `objectOverrides` field to `ListenerSpec` ([#1136]). +- Added `stackable_operator::constants::RESTART_CONTROLLER_ENABLED_LABEL`, which represents the `restarter.stackable.tech/enabled=true` label ([#XXXX]). ### Changed @@ -15,6 +16,7 @@ All notable changes to this project will be documented in this file. [#1135]: https://github.com/stackabletech/operator-rs/pull/1135 [#1136]: https://github.com/stackabletech/operator-rs/pull/1136 +[#XXXX]: https://github.com/stackabletech/operator-rs/pull/XXXX ## [0.101.2] - 2026-01-07 diff --git a/crates/stackable-operator/src/constants/mod.rs b/crates/stackable-operator/src/constants/mod.rs index 73b12dbbd..553f105cc 100644 --- a/crates/stackable-operator/src/constants/mod.rs +++ b/crates/stackable-operator/src/constants/mod.rs @@ -1 +1,10 @@ +use std::sync::LazyLock; + +use crate::kvp::Label; + pub mod secret; + +pub static RESTART_CONTROLLER_ENABLED_LABEL: LazyLock