From 812314bb486da5fb073be7e6a82d1933ab36aecb Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Thu, 18 Oct 2018 15:03:37 +0200 Subject: [PATCH 1/2] Add OpenShift OWNERS --- OWNERS | 1 + OWNERS_ALIASES | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 OWNERS_ALIASES diff --git a/OWNERS b/OWNERS index 8af7434d83..a65f75b412 100644 --- a/OWNERS +++ b/OWNERS @@ -1,4 +1,5 @@ approvers: +- openshift-maintainers - saad-ali - childsb - lpabon diff --git a/OWNERS_ALIASES b/OWNERS_ALIASES new file mode 100644 index 0000000000..afbde96494 --- /dev/null +++ b/OWNERS_ALIASES @@ -0,0 +1,8 @@ +aliases: + openshift-maintainers: + - jsafrane + - tsmetana + - gnufied + - wongma7 + - childsb + - bertinatto From 9a287fbdd354e0173fc6163bf2cbe2277f93e2b9 Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Thu, 18 Oct 2018 15:04:39 +0200 Subject: [PATCH 2/2] Add OpenShift dockerfile --- Dockerfile.openshift | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile.openshift diff --git a/Dockerfile.openshift b/Dockerfile.openshift new file mode 100644 index 0000000000..b6bf9c9c85 --- /dev/null +++ b/Dockerfile.openshift @@ -0,0 +1,13 @@ +FROM openshift/origin-release:golang-1.10 +COPY . /go/src/github.com/kubernetes-csi/external-provisioner/ +RUN cd /go/src/github.com/kubernetes-csi/external-provisioner/ && \ + go build ./cmd/csi-provisioner + +FROM centos:7 + +COPY --from=0 /go/src/github.com/kubernetes-csi/external-provisioner/csi-provisioner /usr/bin/ + +RUN useradd csi-provisioner +USER csi-provisioner + +CMD ["/usr/bin/csi-provisioner"]