Skip to content

Commit

Permalink
UPSTREAM: <carry>: Add OpenShift files
Browse files Browse the repository at this point in the history
  • Loading branch information
jsafrane committed Sep 27, 2022
1 parent 7e942a6 commit 66c5ae5
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 14 deletions.
4 changes: 4 additions & 0 deletions .ci-operator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
build_root_image:
name: release
namespace: openshift
tag: rhel-8-release-golang-1.18-openshift-4.11
8 changes: 8 additions & 0 deletions Dockerfile.openshift
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.18-openshift-4.11 AS builder
WORKDIR /go/src/github.com/kubernetes-csi/external-snapshotter
COPY . .
RUN make build

FROM registry.ci.openshift.org/ocp/4.11:base
COPY --from=builder /go/src/github.com/kubernetes-csi/external-snapshotter/bin/csi-snapshotter /usr/bin/
ENTRYPOINT ["/usr/bin/csi-snapshotter"]
8 changes: 8 additions & 0 deletions Dockerfile.snapshot-controller.openshift.rhel7
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.18-openshift-4.11 AS builder
WORKDIR /go/src/github.com/kubernetes-csi/external-snapshotter
COPY . .
RUN make build

FROM registry.ci.openshift.org/ocp/4.11:base
COPY --from=builder /go/src/github.com/kubernetes-csi/external-snapshotter/bin/snapshot-controller /usr/bin/
ENTRYPOINT ["/usr/bin/snapshot-controller"]
8 changes: 8 additions & 0 deletions Dockerfile.webhook.openshift.rhel7
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.18-openshift-4.11 AS builder
WORKDIR /go/src/github.com/kubernetes-csi/external-snapshotter
COPY . .
RUN make build

FROM registry.ci.openshift.org/ocp/4.11:base
COPY --from=builder /go/src/github.com/kubernetes-csi/external-snapshotter/bin/snapshot-validation-webhook /usr/bin/
ENTRYPOINT ["/usr/bin/snapshot-validation-webhook"]
15 changes: 2 additions & 13 deletions OWNERS
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- kubernetes-csi-approvers
- jingxu97
- yuxiangqian

reviewers:
- kubernetes-csi-reviewers
- jingxu97
- yuxiangqian

emeritus_approvers:
- wackxu
- openshift-storage-maintainers
component: "Storage"
1 change: 0 additions & 1 deletion OWNERS_ALIASES

This file was deleted.

7 changes: 7 additions & 0 deletions OWNERS_ALIASES
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
aliases:
openshift-storage-maintainers:
- jsafrane
- tsmetana
- gnufied
- bertinatto
- dobsonj

0 comments on commit 66c5ae5

Please sign in to comment.