From 014e2aeb5bf9ef54217381258259fca65030e86a Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Wed, 31 Jul 2019 11:04:46 +0200 Subject: [PATCH] Don't run the sidecar container with specific UID Let the pod decide. --- Dockerfile.openshift | 2 -- Dockerfile.openshift.rhel7 | 2 -- 2 files changed, 4 deletions(-) diff --git a/Dockerfile.openshift b/Dockerfile.openshift index fc4ebc4dd..5c663caa9 100644 --- a/Dockerfile.openshift +++ b/Dockerfile.openshift @@ -5,6 +5,4 @@ RUN make build FROM registry.svc.ci.openshift.org/openshift/origin-v4.0:base COPY --from=builder /go/src/github.com/kubernetes-csi/external-attacher/bin/csi-attacher /usr/bin/ -RUN useradd csi-attacher -USER csi-attacher ENTRYPOINT ["/usr/bin/csi-attacher"] diff --git a/Dockerfile.openshift.rhel7 b/Dockerfile.openshift.rhel7 index ec9bf207f..8e2830650 100644 --- a/Dockerfile.openshift.rhel7 +++ b/Dockerfile.openshift.rhel7 @@ -5,6 +5,4 @@ RUN make build FROM registry.svc.ci.openshift.org/ocp/4.0:base COPY --from=builder /go/src/github.com/kubernetes-csi/external-attacher/bin/csi-attacher /usr/bin/ -RUN useradd csi-attacher -USER csi-attacher ENTRYPOINT ["/usr/bin/csi-attacher"]