-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Namespace support in prometheus rule #2796
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
Conversation
Hey @Pothulapati, @romange - Please have a look at this one. Sorry for the late response to review comments. --Yash |
Fixed linting issues for both files. |
@Pothulapati PTAL |
serviceMonitor: | ||
enabled: true | ||
prometheusRule: | ||
enabled: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also add the namespace to verify the same? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done! Thanks! (It still doesn't update the golden file as the main constraint ( .Capabilities.APIVersions.Has "monitoring.coreos.com/v1" ) doesn't return true on my local)
@Pothulapati can I merge it? |
Okay! Not sure why this got closed, I just tried pushing a commit. Will raise a new PR |
Can I raise new PR from yjagdale:main to main. |
@yjagdale Didn't want to waste more of your time. Raised it, and got it merged! sorry for the late review, and laso the PR getting closed! :/ Thanks for your effort. |
Added support for namespace in the Prometheus rules. The original PR was #2694