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

set default context for local-path-provisioner #228

Merged
merged 1 commit into from
Apr 21, 2023
Merged

set default context for local-path-provisioner #228

merged 1 commit into from
Apr 21, 2023

Conversation

jcpunk
Copy link

@jcpunk jcpunk commented Apr 20, 2023

The kubernetes local-path-provisioner uses either
/opt/local-path-provisioner or
/var/local-path-provisioner for its physical volumes

The kubernetes local-path-provisioner uses either
/opt/local-path-provisioner or
/var/local-path-provisioner for its physical volumes

Signed-off-by: Pat Riehecky <[email protected]>
@rhatdan
Copy link
Member

rhatdan commented Apr 20, 2023

This label means from an SELinux point of view every container can read/write all content in these directories, is that your intention?

@jcpunk
Copy link
Author

jcpunk commented Apr 21, 2023

That is my intent. The local-path-provisioner requires pretty full access (read,write,chown,chmod,etc) to the directories it manages.

@rhatdan
Copy link
Member

rhatdan commented Apr 21, 2023

LGTM

@rhatdan rhatdan merged commit 3c3ba8b into containers:main Apr 21, 2023
@jcpunk jcpunk deleted the local-path-provisioner branch April 21, 2023 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants