You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using ktunnel with OpenShift, for me ktunnel expose does not reliably work because the Deployment created has RunAsUser, which OCP does not allow unless you adjust it's security configuration.
OpenShift runs containers with non-root user by default, and the Deployment works fine when I manually remove the RunAsUser.
So far the bug, I am open to providing a PR, but maybe you already have a solution in mind?
The text was updated successfully, but these errors were encountered:
containerUid is hardcoded set to 1000 so that the container runs as non-root 05b502b
A simple way to run the container as non-root, but without running into this issue, would be to specify the non-root user via Dockerfile and not via "RunAsUser"
e.g. like this https://github.com/gms1/ktunnel/blob/develop/Dockerfile
When using ktunnel with OpenShift, for me ktunnel expose does not reliably work because the Deployment created has
RunAsUser
, which OCP does not allow unless you adjust it's security configuration.OpenShift runs containers with non-root user by default, and the Deployment works fine when I manually remove the
RunAsUser
.So far the bug, I am open to providing a PR, but maybe you already have a solution in mind?
The text was updated successfully, but these errors were encountered: