KubeArmor icon indicating copy to clipboard operation
KubeArmor copied to clipboard

fix : owner empty in logs when pod is modified

Open Prateeknandle opened this issue 1 year ago • 0 comments

Purpose of PR?: set the newEndPoint.Owner object when pod is modified. We are making a newEndPoint when pod is modified but we did not add the owner info to it, that is why we were not seeing any owner info in logs after modifying the pod.

Fixes #1629

Does this PR introduce a breaking change? no

If the changes in this PR are manually verified, list down the scenarios covered:: checked the logs after modifying and deleting the pod

Additional information for reviewer? : Mention if this PR is part of any design or a continuation of previous PRs

Checklist:

  • [x] Bug fix. Fixes #
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] This change requires a documentation update
  • [x] PR Title follows the convention of <type>(<scope>): <subject>
  • [ ] Commit has unit tests
  • [ ] Commit has integration tests

Prateeknandle avatar Feb 21 '24 21:02 Prateeknandle