-
Notifications
You must be signed in to change notification settings - Fork 357
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
feat(core): add support for kata and confidential containers #1888
base: main
Are you sure you want to change the base?
feat(core): add support for kata and confidential containers #1888
Conversation
Enforcement confirmed on CoCo + Kubearmor VM setup |
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.
More pending work
- Use custom directory for backup of policies
- Refactor and streamline endpoint creation for unorchestrated workloads.
|
@daemon1024 @DelusionalOptimist, need your thoughts on custom restore path -
|
0449317
to
8a421fb
Compare
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.
KubeArmor/core/hookHandler.go
Outdated
|
||
func (dm *KubeArmorDaemon) handleContainerCreate(container tp.Container) { | ||
endPoint := tp.EndPoint{} | ||
|
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.
Let's keep this function in a independent file, this is unrelated to just hook and is being used in every handler
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.
I can't shift the entire function. Different handler functions have differences. We could create functions for same parts of the function. WDYT?
c9fda2c
to
64bde3f
Compare
CRIO code refactored for populating pidNS and mntNS maps. |
64bde3f
to
8f5c2c1
Compare
Signed-off-by: rootxrishabh <[email protected]> Check kind instead of namespace for restoring policies Signed-off-by: Rishabh Soni <[email protected]> Add support for custom policy backup path Signed-off-by: Rishabh Soni <[email protected]> Restore and Backup policies in YAML instead of JSON Signed-off-by: Rishabh Soni <[email protected]> Refactor: Endpoint and map creation Signed-off-by: Rishabh Soni <[email protected]> Signed-off-by: rootxrishabh <[email protected]>
8f5c2c1
to
6ae831d
Compare
Purpose of PR?:
This PR introduces support for kata and confidential containers.
Fixes #1340
Does this PR introduce a breaking change?
No
If the changes in this PR are manually verified, list down the scenarios covered::
Additional information for reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs
Checklist:
<type>(<scope>): <subject>