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

Cherry-pick #23419 to 7.11: Handle DeletedFinalStateUnknown in k8s OnDelete #23442

Merged
merged 2 commits into from
Jan 13, 2021

Conversation

ChrsMark
Copy link
Member

@ChrsMark ChrsMark commented Jan 12, 2021

Cherry-pick of PR #23419 to 7.11 branch. Original message:

What does this PR do?

We can get DeletedFinalStateUnknown instead of *kubernetes.Resource on OnDelete method of ResourceEventer and we need to handle that correctly.

Why is it important?

Without this Beats will fail with panic.

Related issues

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jan 12, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations (Team:Integrations)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Jan 12, 2021
@elasticmachine
Copy link
Collaborator

elasticmachine commented Jan 12, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #23442 updated

  • Start Time: 2021-01-12T16:24:05.540+0000

  • Duration: 49 min 27 sec

Test stats 🧪

Test Results
Failed 0
Passed 17283
Skipped 1372
Total 18655

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 17283
Skipped 1372
Total 18655

@ChrsMark ChrsMark merged commit b9746f1 into elastic:7.11 Jan 13, 2021
@zube zube bot removed the [zube]: Done label Apr 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Team:Integrations Label for the Integrations team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants