Skip to content

Commit

Permalink
Don't run the sidecar container with specific UID
Browse files Browse the repository at this point in the history
    
Let the pod decide.
  • Loading branch information
jsafrane committed Jul 31, 2019
1 parent 09a381d commit 7565bf0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Dockerfile.openshift
Original file line number Diff line number Diff line change
Expand Up @@ -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-snapshotter/bin/csi-snapshotter /usr/bin/
RUN useradd csi-snapshotter
USER csi-snapshotter
ENTRYPOINT ["/usr/bin/csi-snapshotter"]
2 changes: 0 additions & 2 deletions Dockerfile.openshift.rhel7
Original file line number Diff line number Diff line change
Expand Up @@ -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-snapshotter/bin/csi-snapshotter /usr/bin/
RUN useradd csi-snapshotter
USER csi-snapshotter
ENTRYPOINT ["/usr/bin/csi-snapshotter"]

0 comments on commit 7565bf0

Please sign in to comment.