From 8e38ef1307a55e3ce4e79da4e7c4cc83abe1547b Mon Sep 17 00:00:00 2001 From: Andrew Kenworthy Date: Tue, 20 Jan 2026 13:00:57 +0100 Subject: [PATCH 1/3] fix status services --- rust/operator-binary/src/controller.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/rust/operator-binary/src/controller.rs b/rust/operator-binary/src/controller.rs index 4ed24215..7fd0e743 100644 --- a/rust/operator-binary/src/controller.rs +++ b/rust/operator-binary/src/controller.rs @@ -381,10 +381,7 @@ impl OpaClusterConfigFile { decision_logs: decision_logging, // Enable more Prometheus metrics, such as bundle loads // See https://www.openpolicyagent.org/docs/monitoring#status-metrics - status: Some(OpaClusterConfigStatus { - service: OPA_STACKABLE_SERVICE_NAME.to_owned(), - prometheus: true, - }), + status: Some(OpaClusterConfigStatus { prometheus: true }), } } } @@ -421,7 +418,6 @@ pub struct OpaClusterConfigDecisionLog { #[derive(Serialize, Deserialize)] struct OpaClusterConfigStatus { - service: String, prometheus: bool, } From fdeac115adf7c23d77295dd165e8bc9bd3a01d37 Mon Sep 17 00:00:00 2001 From: Andrew Kenworthy Date: Tue, 20 Jan 2026 13:47:58 +0100 Subject: [PATCH 2/3] changelog --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 98a98c12..df0dc6c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,10 @@ All notable changes to this project will be documented in this file. - Deprecate OPA 1.8.0 ([#797]). - user-info-fetcher: Move backend initialization and credential resolution into backend-specific implementations ([#782]). +### Fixed + +- Fix services for status reporting ([#799]). + ### Removed - Remove support for OPA 1.4.2 ([#797]). @@ -26,6 +30,7 @@ All notable changes to this project will be documented in this file. [#793]: https://github.com/stackabletech/opa-operator/pull/793 [#795]: https://github.com/stackabletech/opa-operator/pull/795 [#797]: https://github.com/stackabletech/opa-operator/pull/797 +[#799]: https://github.com/stackabletech/opa-operator/pull/799 ## [25.11.0] - 2025-11-07 From 01043d2f43cbc45dee1bcb0480f1f16ffe57064f Mon Sep 17 00:00:00 2001 From: Andrew Kenworthy Date: Tue, 20 Jan 2026 14:13:44 +0100 Subject: [PATCH 3/3] updated changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index df0dc6c8..6670a5dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,7 +19,7 @@ All notable changes to this project will be documented in this file. ### Fixed -- Fix services for status reporting ([#799]). +- Prevent unnecessary warning messages in the OPA logs caused by setting a service for the Prometheus status ([#799]). ### Removed