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

Aporeto allowing connections to protected pods during pod initialization #624

Open
mitovskaol opened this issue Feb 10, 2020 · 2 comments
Open
Assignees
Labels
bug Something isn't working security/aporeto security Platform Security
Milestone

Comments

@mitovskaol
Copy link
Collaborator

We have observed an unexpected behaviour with Aporeto on the platform - when a pod gets started, there is a delay before the enforcers recognize it as a processing unit and enforce an NSP on it.

The suggested fix is to use a custom resource definition PodInjectorSelector - to add an init container to all pods that need security setup before starting as described here.

Might need to have a playbook(?) that would populate all Platform pods with the PodInjectorSelector CR.

@mitovskaol mitovskaol added bug Something isn't working security Platform Security security/aporeto labels Feb 10, 2020
@mitovskaol mitovskaol added this to the Sprint 11 milestone Feb 10, 2020
@mitovskaol
Copy link
Collaborator Author

mitovskaol commented Feb 25, 2020

Update from Aporeto on Feb 23, 2020

marcus.aporeto
2:52 PM
as an fyi on the init container: moving forward, by July there will be no CR anymore for the init container, it will be injected for every pod by default ... OpenShift issues/difficulties will obviously be taken care of by then, so that the injection always works ... that's in general the goal here: it should just work always ... in the longer run (by the end of the year) the init container might even potentially be superfluous

@mitovskaol
Copy link
Collaborator Author

Decision item as of Feb 20, 2020:
We will use the CR fix as a temporary fix for OCP 3.11 and will switch to Host Protection in OCP 4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working security/aporeto security Platform Security
Projects
None yet
Development

No branches or pull requests

3 participants