Skip to content

Commit 9f41c3d

Browse files
authored
fix: Remove incorrect status service (#799)
* fix status services * changelog * updated changelog
1 parent 65e766b commit 9f41c3d

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ All notable changes to this project will be documented in this file.
1717
- Deprecate OPA 1.8.0 ([#797]).
1818
- user-info-fetcher: Move backend initialization and credential resolution into backend-specific implementations ([#782]).
1919

20+
### Fixed
21+
22+
- Prevent unnecessary warning messages in the OPA logs caused by setting a service for the Prometheus status ([#799]).
23+
2024
### Removed
2125

2226
- Remove support for OPA 1.4.2 ([#797]).
@@ -26,6 +30,7 @@ All notable changes to this project will be documented in this file.
2630
[#793]: https://github.com/stackabletech/opa-operator/pull/793
2731
[#795]: https://github.com/stackabletech/opa-operator/pull/795
2832
[#797]: https://github.com/stackabletech/opa-operator/pull/797
33+
[#799]: https://github.com/stackabletech/opa-operator/pull/799
2934

3035
## [25.11.0] - 2025-11-07
3136

rust/operator-binary/src/controller.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -381,10 +381,7 @@ impl OpaClusterConfigFile {
381381
decision_logs: decision_logging,
382382
// Enable more Prometheus metrics, such as bundle loads
383383
// See https://www.openpolicyagent.org/docs/monitoring#status-metrics
384-
status: Some(OpaClusterConfigStatus {
385-
service: OPA_STACKABLE_SERVICE_NAME.to_owned(),
386-
prometheus: true,
387-
}),
384+
status: Some(OpaClusterConfigStatus { prometheus: true }),
388385
}
389386
}
390387
}
@@ -421,7 +418,6 @@ pub struct OpaClusterConfigDecisionLog {
421418

422419
#[derive(Serialize, Deserialize)]
423420
struct OpaClusterConfigStatus {
424-
service: String,
425421
prometheus: bool,
426422
}
427423

0 commit comments

Comments
 (0)