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

jsonnet: fix default empty groups for k8s PrometheusRule #1534

Merged
merged 1 commit into from
Dec 3, 2021
Merged

jsonnet: fix default empty groups for k8s PrometheusRule #1534

merged 1 commit into from
Dec 3, 2021

Conversation

junotx
Copy link
Contributor

@junotx junotx commented Dec 3, 2021

Description

Expect type array for groups in k8s PrometheusRule, but object when there are no prometheusRules or prometheusAlerts .

Type of change

  • CHANGE (fix or feature that would cause existing functionality to not work as expected)
  • FEATURE (non-breaking change which adds functionality)
  • BUGFIX (non-breaking change which fixes an issue)
  • ENHANCEMENT (non-breaking change which improves existing functionality)
  • NONE (if none of the other choices apply. Example, tooling, build system, CI, docs, etc.)

Changelog entry

Fix default empty groups for k8s PrometheusRule

Copy link
Member

@paulfantom paulfantom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ArthurSens
Copy link
Member

Thanks!

@ArthurSens ArthurSens merged commit f7c9de9 into prometheus-operator:main Dec 3, 2021
@junotx junotx deleted the k8s-rule-group branch December 21, 2021 03:25
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.

3 participants