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
It actually need to create many directories under /usr/local/openresty/nginx during start up
uwsgi_temp
scgi_temp
proxy_temp
fastcgi_temp
client_body_temp
And it also failed to create error.log file under /usr/local/openresty/nginx/logs while deploy into Kubernetes with runAsNonRoot: true security context
The only way I can get it up and running is to configure clusterrolebinding to allow openresty/openresty:alpine to run as root. This is an un-acceptable security context in a production environment.
The text was updated successfully, but these errors were encountered:
Docker image
openresty/openresty:alpine
cannot start up while deploy into Kubernetes withrunAsNonRoot: true
security contextImage ID is
"sha256:98649cc07221ad5e30cdc72f717b11754bd128d54152f002c81605eabe4652e0"
Error message said as this
It actually need to create many directories under
/usr/local/openresty/nginx
during start upAnd it also failed to create
error.log
file under/usr/local/openresty/nginx/logs
while deploy into Kubernetes withrunAsNonRoot: true
security contextThe only way I can get it up and running is to configure
clusterrolebinding
to allowopenresty/openresty:alpine
to run asroot
. This is an un-acceptable security context in a production environment.The text was updated successfully, but these errors were encountered: