Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container has runAsNonRoot and image has non-numeric user (nobody), cannot verify user is non-root #406

Closed
aleksandr-vin opened this issue Nov 16, 2021 · 1 comment · Fixed by #409

Comments

@aleksandr-vin
Copy link
Contributor

When runAsNonRoot is enabled in k8s the non-numeric user is not acceptable.

aleksandr-vin added a commit to aleksandr-vin/statsd_exporter that referenced this issue Nov 16, 2021
When in k8s, container has `runAsNonRoot` policy and image has non-numeric user (nobody), then the deployment will fail as it cannot verify user is non-root.

Closes prometheus#406

Signed-of-by: Aleksandr Vinokurov <[email protected]>
aleksandr-vin added a commit to aleksandr-vin/statsd_exporter that referenced this issue Nov 16, 2021
When in k8s, container has `runAsNonRoot` policy and image has non-numeric user (nobody), then the deployment will fail as it cannot verify user is non-root.

Closes prometheus#406

Signed-off-by: Aleksandr Vinokurov <[email protected]>
@aleksandr-vin
Copy link
Contributor Author

Took me 2 attempts to sign-off via Github web UI :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment