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

read config files from host /etc #181

Merged
merged 2 commits into from
Nov 20, 2018
Merged

Conversation

lizrice
Copy link
Contributor

@lizrice lizrice commented Nov 20, 2018

I don't see how kube-bench can check the permissions on files unless it has access to them on the host, so I think we need to be mounting the /etc directory from the host.

@ttousai can you double-check this please?

I don't see how kube-bench can check the permissions on files unless it has access to them on the host, so I think we need to be mounting the /etc directory from the host
@lizrice lizrice requested a review from ttousai November 20, 2018 10:18
@ttousai
Copy link
Contributor

ttousai commented Nov 20, 2018

@lizrice LGTM.

Another possible mount will be etcd data directory and WAL directories which are also checked and will be mounted on the host (checks 1.4.11 and 1.4.12).

@lizrice
Copy link
Contributor Author

lizrice commented Nov 20, 2018

Thanks @ttousai. I'll add mounting /var as well.

@lizrice
Copy link
Contributor Author

lizrice commented Nov 20, 2018

@ttousai if you could mark this as reviewed I can merge it. Thanks!

@lizrice lizrice merged commit 52d6ac7 into master Nov 20, 2018
@lizrice lizrice deleted the config-file-location-mount branch January 4, 2019 22:41
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.

2 participants