-
Notifications
You must be signed in to change notification settings - Fork 553
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
helm-charts: Add selinuxMount flag to enable/disable /etc/selinux host mount #2883
Conversation
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.
@Aste88 Thanks for the PR. can you fix DCO and commit lint problem. please refer to https://github.com/ceph/ceph-csi/blob/devel/docs/development-guide.md#code-contribution-workflow for any help
Add selinuxMount flag to enable/disable /etc/selinux host mount inside pods to support selinux-enabled filesystems Signed-off-by: Francesco Astegiano <francesco.astegiano@gmail.com>
@Aste88 @Madhu-1 @Rakshith-R @nixpanic I doubt this was the right fix we need , That said, here we are defaulting to |
@humblec this was done to support the backward compatibility and now the user is having an option to turn it on and off which was not present at all. |
Getting a knob done is fine, but a couple of things , like
All new deployments will try to pick the hostmount now being this value default to true and if we are on NON selinux system it could cause issues. Instead of this, I was thinking we could have gone ahead with |
Yes correctly its the existing behaviour for both helm and deployments with kube templates.
Is it allowed to create a Directory on |
Describe what this PR does
Add selinuxMount flag to enable/disable /etc/selinux host mount inside pods to support selinux-enabled filesystems
Is the change backward compatible?
Yes, selinuxMount default is true (the previous behaviour)
Are there concerns around backward compatibility?
None I'm aware of
Related issues
Fixes: #2876