-
Notifications
You must be signed in to change notification settings - Fork 26
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
SELinux support for S3 CSI Driver for EKS Addon #169
Comments
Thank you for the request. Are you using the default SELinux policies for Amazon Linux 2? The driver does have some basic SELinux settings as of 1.4.0 where you can customize the |
I think we are indeed using the default SELinux policies (if there are any? I haven't found any documentation about the SEL policies included with AL2) as the CIS buildkit does not create new SELinux policies, it only enables the enforcement. As far as I know, AWS Support has reproduced this issue on the AL2 image provided by AWS even without installing the CIS buildkit. We are relying on EKS addons to install the S3 CSI driver so we don't have control on what's being installed behind the scenes. |
Any news on this one by any chance? |
Hey @GiamPy5 sorry for the late response! I tried to run Mountpoint CSI driver on a SELinux enabled host (AL2023) in “permissive” mode and didn't see any problems other than mounting Currently, we mount
We talked within the team, and seems like using
In order to make sure we don't break non-SELinux users, we'll preserve 3. check by default and allow SELinux users to opt-out from mounting of We're hoping that to allow using Mountpoint CSI driver in SELinux enforced hosts. |
Any update please? |
Hey @marekhotshot, we'll make the changes described in #169 (comment), but we don't have a target date yet unfortunately. |
/feature
Is your feature request related to a problem? Please describe.
Our enterprise desires all of their instances to be security-hardened with SELinux enabled (we're also installing the CIS buildkit on the AMIs, starting from the EKS-optimized Amazon Linux 2 AMI). However SELinux does not make the s3-plugin container (part of the S3 CSI driver pod) start as it fails to perform a mount operation. AWS Support has advised us to submit a feature request about this issue.
Describe the solution you'd like in detail
Enhance the support of S3 CSI driver for SELinux so that it can work without any issues.
Describe alternatives you've considered
The only alternatives would be to:
Additional context
Pod logs:
Audit.log logs:
Internal AWS support reference (case ID): 171041866401170
The text was updated successfully, but these errors were encountered: