Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Replace glog and allow to reduce container privileges #107

Merged
merged 2 commits into from
Sep 19, 2018
Merged

Conversation

linki
Copy link
Owner

@linki linki commented Sep 19, 2018

This replaces glog with github.com/kubermatic/glog-logrus which allows to inject a logrus logger instead (the default is a noop logger). Replacing glog allows us to set readOnlyRootFilesystem: true.

It also updates the example deployment file with all the settings recommended by https://kubesec.io/. Thanks to all the previous work: be able to run as non-root etc. (read-only fs was the last missing one).

Thanks to @kdomanski for github.com/kubermatic/glog-logrus.

@linki linki merged commit 90e1112 into master Sep 19, 2018
@linki linki deleted the read-only-fs branch September 19, 2018 13:54
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant