-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Preserve annotations in a kubernetes namespace metadata #27045
Preserve annotations in a kubernetes namespace metadata #27045
Conversation
💚 CLA has been signed |
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪💚 Flaky test reportTests succeeded. Expand to view the summary
Test stats 🧪
|
Pinging @elastic/integrations (Team:Integrations) |
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.
lgtm, thanks for fixing this!
/test |
(cherry picked from commit 4576058)
) (cherry picked from commit 4576058) Co-authored-by: Aleksey Akulovich <[email protected]>
What does this PR do?
When kubernetes is used as autodiscover provider, we can use metadata in processors of filebeat.
But after #16834 we lost access to 'annotations' section. This PR fix it.
Why is it important?
We have custom tags in namespace annotations but have no access to them from the latest versions of filebeat. But we still have access to labels what is contradictory.
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.How to test this PR locally
As usual:
go test ./...
Related issues
Use cases