diff --git a/CHANGELOG.md b/CHANGELOG.md index 98a98c12..6670a5dd 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 + +- Prevent unnecessary warning messages in the OPA logs caused by setting a service for the Prometheus status ([#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 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, }