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

Fix a bug where pods in a deletion process could cause an error when removing their IAM finalizer #151

Closed
wants to merge 3 commits into from

Conversation

omris94
Copy link
Contributor

@omris94 omris94 commented Jul 22, 2024

Description

Use StrategicMergeFrom instead of MergeFrom when removing finalizers from pods.

References

https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/client#StrategicMergeFrom:~:text=func-,StrategicMergeFrom,-%C2%B6

@omris94 omris94 requested a review from amitlicht July 22, 2024 09:55
@amitlicht amitlicht closed this Aug 5, 2024
@amitlicht amitlicht deleted the omris/strategic-merge-when-removing-finzlizers branch August 5, 2024 09:23
@github-actions github-actions bot locked and limited conversation to collaborators Aug 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants