Code-executor running as a privileged container

Hello,

we reported this issue a couple of weeks ago but didn't hear anything back.
So just wanted to ask if there is any answer for this: https://github.com/tryretool/retool-helm/issues/141

I'm currently in the process of installing the code-executor in the self-hosted version. However, I've encountered an issue where the pod is not being scheduled due to it running as a privileged container.

pods "retool-code-executor-857b777d78-" is forbidden: PodSecurityPolicy: unable to admit pod: [spec.containers[0].securityContext.privileged: Invalid value: true: Privileged containers are not allowed]

I'd appreciate clarification on whether there is a specific reason for the code-executor needing to run as a privileged container. Is it possible to eliminate this requirement and instead configure the SecurityContext directly from the values YAML file?

Thank you :slight_smile: