Repository navigation
Revert MetricStorage configuration from lightspeed-operator - #122
omkarjoshi0304 wants to merge 1 commit into
Conversation
|
Build succeeded (check pipeline). ✔️ openstack-k8s-operators-content-provider SUCCESS in 4h 42m 13s |
…RHOSO 18" This reverts commit 57acabc. The MetricStorage configuration approach violated namespace isolation by having lightspeed-operator watch resources in the openstack namespace. The metric list fix will be implemented in openstack-operator instead (PR #2165), where rhoso-mcps is deployed, using a simpler Get() approach without dynamic watches. Also bumps go.opentelemetry.io/otel/{sdk,exporters/otlp/otlptrace, exporters/otlp/otlptrace/otlptracegrpc} to v1.45.0 to keep GO-2026-6505 fixed after go.mod/go.sum were reverted to pre-57acabc versions. Related: OSPRH-36685
523be1a to
e3a451b
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: omkarjoshi0304 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: omkarjoshi0304 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Build succeeded (check pipeline). ✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 09m 37s |
|
closing this PR since the changes has been covered in this PR -> #127 |
Summary
Reverts commit 57acabc which added MetricStorage detection and Prometheus configuration to lightspeed-operator.
Reason for Revert
The MetricStorage configuration approach violated namespace isolation principles by having lightspeed-operator watch resources in the
openstacknamespace via dynamic watches.Alternative Solution
The metric list functionality will be implemented in openstack-operator instead (see openstack-k8s-operators/openstack-operator#2165), where rhoso-mcps is deployed. This aligns better with the architecture and respects namespace boundaries.
What This Reverts
cmd/main.gometricstoragesresourcemcp_server.goapplication-credentials-and-metric-storage→application-credentials)Summary by CodeRabbit