Skip to content

Don't require openshift4-monitoring for alert rule rendering#46

Draft
mdnix wants to merge 1 commit into
masterfrom
fix/decouple-openshift4-monitoring
Draft

Don't require openshift4-monitoring for alert rule rendering#46
mdnix wants to merge 1 commit into
masterfrom
fix/decouple-openshift4-monitoring

Conversation

@mdnix

@mdnix mdnix commented Jun 8, 2026

Copy link
Copy Markdown

Checklist

  • The PR has a meaningful title. It will be used to auto-generate the
    changelog.
    The PR has a meaningful description that sums up the change. It will be
    linked in the changelog.
  • PR contains a single logical change (to build a better changelog).
  • Update the documentation.
  • Categorize the PR by adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog.
  • Link this PR to related issues or PRs.

Fall back to component-prometheus' prometheus.libsonnet when
openshift4-monitoring is absent: reimplement generateRules (pure rule
shaping) and a minimal alert-patching fallback in patch-alerts. Add a
prometheus test case exercising the non-OpenShift path and gate the
existing tests on the openshift4-monitoring application.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant