-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Use readOnlyRootFilesystem: true for all containers #5925
Copy link
Copy link
Closed
Labels
good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.Denotes an issue or PR has remained open with no activity and has become stale.
Description
Is your feature request related to a problem? Please describe.
Currently, by default, it is possible to write on the root filesystem
Describe the solution you'd like
Specify readOnlyRootFilesystem: true as a default for all the containers in the manifests of the next release
Describe alternatives you've considered
Patch manually
Additional context
It seems that there is intent for the binaries to not write anywhere, judging from #2884 (comment) and #2883 (comment), although this might not be the case according to #5580.
Either way, whether a volume has to be mounted or not, I think it would be a good default to have in regards to security.
/kind feature
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.Denotes an issue or PR has remained open with no activity and has become stale.