Skip to content

Commit

Permalink
UPSTREAM: <carry>: Add OpenShift files
Browse files Browse the repository at this point in the history
And remove .github
  • Loading branch information
mpatlasov committed Feb 1, 2023
1 parent a49a307 commit 0b199d9
Show file tree
Hide file tree
Showing 13 changed files with 37 additions and 202 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.19-openshift-4.13
25 changes: 0 additions & 25 deletions .github/ISSUE_TEMPLATE/bug-report.md

This file was deleted.

18 changes: 0 additions & 18 deletions .github/ISSUE_TEMPLATE/enhancement.md

This file was deleted.

15 changes: 0 additions & 15 deletions .github/ISSUE_TEMPLATE/support.md

This file was deleted.

40 changes: 0 additions & 40 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

15 changes: 0 additions & 15 deletions .github/workflows/codespell.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/dependabot.yaml

This file was deleted.

55 changes: 0 additions & 55 deletions .github/workflows/trivy.yaml

This file was deleted.

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.19-openshift-4.13 AS builder
WORKDIR /go/src/github.com/kubernetes-csi/external-snapshotter
COPY . .
RUN make build

FROM registry.ci.openshift.org/ocp/4.13: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.19-openshift-4.13 AS builder
WORKDIR /go/src/github.com/kubernetes-csi/external-snapshotter
COPY . .
RUN make build

FROM registry.ci.openshift.org/ocp/4.13: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.19-openshift-4.13 AS builder
WORKDIR /go/src/github.com/kubernetes-csi/external-snapshotter
COPY . .
RUN make build

FROM registry.ci.openshift.org/ocp/4.13: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 0b199d9

Please sign in to comment.