Merge pull request #97963 from saschagrunert/pause-non-root

Run pause image as non-root user and group
This commit is contained in:
Kubernetes Prow Robot 2021-03-16 05:30:36 -07:00 committed by GitHub
commit 2a26f276a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -160,7 +160,7 @@ dependencies:
match: __default_go_runner_version=
- name: "k8s.gcr.io/pause"
version: 3.4
version: 3.5
refPaths:
- path: build/pause/Makefile
match: TAG =

View File

@ -16,4 +16,5 @@ ARG BASE
FROM ${BASE}
ARG ARCH
ADD bin/pause-linux-${ARCH} /pause
USER 65535:65535
ENTRYPOINT ["/pause"]

View File

@ -17,7 +17,7 @@
REGISTRY ?= staging-k8s.gcr.io
IMAGE = $(REGISTRY)/pause
TAG = 3.4.1
TAG = 3.5
REV = $(shell git describe --contains --always --match='v*')
# Architectures supported: amd64, arm, arm64, ppc64le and s390x