What I'd like:
I'd like to to run buildah in non-privileged containers on Bottlerocket. For that, I have to set /proc/sys/user/max_user_namespaces to a value greater than zero. It would be great if I can do that from the instance user data.
Any alternatives you've considered:
Currently, I do that with a privileged DaemonSet. That DaemonSet has a privileged init container that just does echo 16384 > /proc/sys/user/max_user_namespaces and a regular container that does nothing, but consume memory.
What I'd like:
I'd like to to run buildah in non-privileged containers on Bottlerocket. For that, I have to set
/proc/sys/user/max_user_namespacesto a value greater than zero. It would be great if I can do that from the instance user data.Any alternatives you've considered:
Currently, I do that with a privileged DaemonSet. That DaemonSet has a privileged init container that just does
echo 16384 > /proc/sys/user/max_user_namespacesand a regular container that does nothing, but consume memory.