Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the sloth-generate target to output PrometheusRules files #1

Merged
merged 1 commit into from
May 9, 2024

Conversation

david-martin
Copy link

@R-Lawton if you don't mind, i'd like to propose a couple of updates to the pr Kuadrant#596 to hopefully simplify things for us in future.

The changes here are:

  • update the sloth-generate target to take the example/alerts/sloth input folder and example/alerts output folder so all generated rules are written out to files
  • Change the name of the input files to have the slo- prefix so they match the expected output file names
  • Change the input files to be PrometheusServiceLevel kinds (like the examples in https://sloth.dev/examples/kubernetes/getting-started/) so that PrometheusRules CRs are output

@R-Lawton R-Lawton merged commit a29e503 into R-Lawton:gh-441 May 9, 2024
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.

2 participants