1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-27 05:46:13 +01:00

Run as user 1000 so pod can be runAsNonRoot for security purposes

This commit is contained in:
Jye Lee
2020-12-10 09:37:49 -08:00
parent c86d1c7eb2
commit 0cfbdf642b
2 changed files with 4 additions and 0 deletions

View File

@@ -15,6 +15,8 @@ FROM scratch
MAINTAINER Avesh Agarwal <avesh.ncsu@gmail.com>
USER 1000
COPY _output/bin/descheduler /bin/descheduler
CMD ["/bin/descheduler", "--help"]