Improve support for readOnlyRootFs #2003
TobiasDeBruijn
started this conversation in
Ideas
Replies: 2 comments
-
What’s the use case and benefits of this? Security? Against what? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Security yeah. It doesn't add a lot compared to e.g not running as root, but it does contribute slightly. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there,
I want to make all my pods have a readOnlyRootFs, this however proved difficult for Transmission, not impossible though. This is how I had to solve the couple of issues. This is specific to Kubernetes and PIA as provider:
I had to create a couple of
emptyDir
s, for/tmp
,/etc/openvpn/pia
and/etc/transmission
:Mounted at
/tmp
,/etc/openvpn/pia
and/etc/transmission
respectively:This too caused some issues, for
/etc/openvpn/pia
it was missing two scripts it needs and the configuration files. This was solved with the followinginitContainer
:For
/etc/transmission
it too was missing required scripts, this too was solved with aninitContainer
:With that, you have a working Transmission with
Possible, but difficult and verbose.
The 'Feature request' then here is, can we make this easier?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions