-
Notifications
You must be signed in to change notification settings - Fork 348
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
Applying KubeArmor pod annotations #360
Comments
@nyrahul Hello, I am interested in this project and want to take this as my LFX mentorship project (referring to https://mentorship.lfx.linuxfoundation.org/project/81f0d863-30ca-43b5-a368-fd422ec681a6). I have already applied to the LFX mentorship website and also submitted my prerequisite tasks. Thank you! |
Great to see your interest in solving this problem. We would be happy discuss the problem statement and possible design choices we had considered. |
@nyrahul , we cannot use mutation webhooks to annotate pods because when mutating we dont know on what node the pod will end up running on. in other words we cannot set the correct annotations for a perticular enforcer in the case that we have multiple types of enforcers in a cluster. |
Thanks @achrefbensaad for handling this issue. Closing this since this is now tested as well. |
Feature Request
Short Description
Currently, KubeArmor watches for deployments and uses the rolling update feature to apply the required annotations. There are following annotations that are of interest.
Is your feature request related to a problem? Please describe the use case.
Currently, KubeArmor does not have a way to apply annotations in the context of individual pods i.e, pods created without deployments.
Thus if the user applies a policy, the policy apply works but the actual enforcement does not. There is no way for the user to debug this.
Describe the solution you'd like
However, this approach needs proper analysis of the dependencies.
Describe alternatives you've considered
CC: @nam-jaehyun
The text was updated successfully, but these errors were encountered: