-
Notifications
You must be signed in to change notification settings - Fork 458
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
Add validation for pod/service monitors for TargetAllocator and skip invalid ones #2328
Merged
jaronoff97
merged 29 commits into
open-telemetry:main
from
rashmichandrashekar:rashmi/add-validation
Jan 22, 2024
Merged
Changes from 2 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
1b7e32b
fix for adding validation
rashmichandrashekar a55e688
removing unused references
rashmichandrashekar 401ad2c
adding tests
rashmichandrashekar b582198
adding some changes
rashmichandrashekar 1a90fae
syncing with latest main
rashmichandrashekar 2c276dc
cleaning up
rashmichandrashekar e97f969
adding change log
rashmichandrashekar 26843ed
Merge branch 'main' into rashmi/add-validation
rashmichandrashekar 533dff8
running goimports and adding return value check code for namespace in…
rashmichandrashekar 537a2bb
fixing lint error
rashmichandrashekar 90bcb75
fixing tests and comment
rashmichandrashekar dfcc746
adding permissions for e2e tests
rashmichandrashekar 5406145
adding cluster roles instead of roles
rashmichandrashekar 883b583
updaintg readme
rashmichandrashekar 7885db1
fixing comments
rashmichandrashekar 83abf55
Merge branch 'main' into rashmi/add-validation
rashmichandrashekar c9f3aa5
adding contant to same block
rashmichandrashekar 436b888
Merge branch 'rashmi/add-validation' of https://github.com/rashmichan…
rashmichandrashekar 319e72f
merging with upstream main
rashmichandrashekar 4fc1403
fixing lint errors
rashmichandrashekar a943cdb
running go import
rashmichandrashekar bf33615
adding namespaces since that is required for informer
rashmichandrashekar bc6dc56
adding extected warnings
rashmichandrashekar b627b24
Merge branch 'main' into rashmi/add-validation
rashmichandrashekar b742f0a
addressing comments
rashmichandrashekar d062dbd
adding test for namespace label update
rashmichandrashekar 859ed13
Merge branch 'main' into rashmi/add-validation
rashmichandrashekar da40b95
fixing goimports
rashmichandrashekar f0bc9d2
making namespaceselectores as labelselectors
rashmichandrashekar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Would it be useful for us to reach out to the prometheus operator folks to see if they would expose this method?
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.
Thanks @jaronoff97. I have reached out to them, waiting for a response,(prometheus-operator/prometheus-operator#6057 (comment)) based on that I can add the tests.
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.
Also created an issue here - prometheus-operator/prometheus-operator#6076
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.
@jaronoff97 - There is a question about breaking changes. I have answered it from what I understand and what I think the way forward would be. Could you please respond to provide your perspective and correct me if i am wrong?
prometheus-operator/prometheus-operator#6076 (comment)
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.
yep, i responded there :) thanks for making the issue. Let's wait to hear from them before merging this – i would love to just use their method rather than having to write it ourselves.