-
Notifications
You must be signed in to change notification settings - Fork 35
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
NSC - Add support for K8S PSS restricted/baseline profiles (for hostPath volumes) #9218
Comments
Decomposition:
TOTAL: 49h |
To use CSI, we need to change the volumes type from
becomes
To test NSM-CSI on CI, we will need to modify our examples. We have 2 options:
|
Current state:
But we have other problems with restricted profile:
|
This should be fixable using the WithRootDir option for vpphelper. |
I guess this one could be closed and we could create another one with remaining problems for next release. |
Motivation
K8S 1.25 release deprecates PSP (Pod security policy) and enables PSS (Pod Security Standards)/PSA (Pod Security Admission controller) by default. The PSS has 3 profiles - Privileged, Baseline and Restricted.
NSC requires hostPath volumes for unix sockets. HostPath volumes are not permitted in Baseline/Restricted profiles.
Need a solution for NSC to work in Baseline/Restricted profiles.
Couple of options:
References
https://kubernetes.io/docs/concepts/security/pod-security-standards/
The text was updated successfully, but these errors were encountered: