-
Notifications
You must be signed in to change notification settings - Fork 392
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
Fixes conditions of kubernetes data_streams that are based on k8s labels & pipelines #2041
Conversation
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
Pinging @elastic/integrations (Team:Integrations) |
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
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.
nit: please rename the PR to something more meaningful :)
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
🤖 GitHub commentsTo re-run your PR in the CI, just comment with:
|
/test |
68b060d
to
9febd6e
Compare
/test |
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
I wonder why the condition does not work...I'm able to see the new condition working with the following:
and I will try with running the tests locally. |
@mtojek with what version of stack the tests run? This patch would require > 7.16, so maybe this is the reason for the CI failure. |
@mtojek I think that the issue is that Changing this on my local |
Oh, this is very unfortunate. This is because the system test runner isn't aware of the stack version and uses a default one. I will open an issue in elastic-package and will try to address it tomorrow. |
New release of elastic-package is ready. I triggered the Dependabot job to pull this update into Integrations. |
Thank you @mtojek . Feel free to kick the tests here too when update is available. |
Now we hit another error related to |
I think this is because in those failing data_streams in sample_event.json there is still |
I can reproduce it locally:
|
Events are stored properly in ES but there is an error attached:
@MichaelKatsoulis @mtojek any ideas here? |
There seems to be a problem with the pipeline. I am looking into it |
@MichaelKatsoulis since you found the fix for the pipeline already (discussed offline) I think I will merge this one and open a follow-up with your solution. |
I cannot merge this one without a suceessfull CI, I will include the changes in the pipelines here too. |
I can help you with merge if you like (admin rights). |
Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
I would say since the PR is already a bug fix we include this fix too. |
What does this PR do?
Fixes conditions of k8s data_streans that are based on k8s labels