Skip to content

Commit 2384360

Browse files
committed
UPSTREAM: <carry>: Add OpenShift files
And remove .github
1 parent 39e4391 commit 2384360

14 files changed

+45
-204
lines changed

.ci-operator.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
build_root_image:
2+
name: release
3+
namespace: openshift
4+
tag: rhel-9-release-golang-1.21-openshift-4.16

.github/ISSUE_TEMPLATE/bug-report.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/enhancement.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/support.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/dependabot.yaml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/workflows/codespell.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/trivy.yaml

Lines changed: 0 additions & 56 deletions
This file was deleted.

.snyk

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# References:
2+
# https://docs.snyk.io/scan-applications/snyk-code/using-snyk-code-from-the-cli/excluding-directories-and-files-from-the-snyk-code-cli-test
3+
# https://docs.snyk.io/snyk-cli/commands/ignore
4+
exclude:
5+
global:
6+
- vendor/**

Dockerfile.openshift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.21-openshift-4.16 AS builder
2+
WORKDIR /go/src/github.com/kubernetes-csi/external-snapshotter
3+
COPY . .
4+
RUN make build
5+
6+
FROM registry.ci.openshift.org/ocp/4.16:base-rhel9
7+
COPY --from=builder /go/src/github.com/kubernetes-csi/external-snapshotter/bin/csi-snapshotter /usr/bin/
8+
ENTRYPOINT ["/usr/bin/csi-snapshotter"]
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.21-openshift-4.16 AS builder
2+
WORKDIR /go/src/github.com/kubernetes-csi/external-snapshotter
3+
COPY . .
4+
RUN make build
5+
6+
FROM registry.ci.openshift.org/ocp/4.16:base-rhel9
7+
COPY --from=builder /go/src/github.com/kubernetes-csi/external-snapshotter/bin/snapshot-controller /usr/bin/
8+
ENTRYPOINT ["/usr/bin/snapshot-controller"]

Dockerfile.webhook.openshift.rhel7

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.21-openshift-4.16 AS builder
2+
WORKDIR /go/src/github.com/kubernetes-csi/external-snapshotter
3+
COPY . .
4+
RUN make build
5+
6+
FROM registry.ci.openshift.org/ocp/4.16:base-rhel9
7+
COPY --from=builder /go/src/github.com/kubernetes-csi/external-snapshotter/bin/snapshot-validation-webhook /usr/bin/
8+
ENTRYPOINT ["/usr/bin/snapshot-validation-webhook"]

OWNERS

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
# See the OWNERS docs at https://go.k8s.io/owners
2-
31
approvers:
4-
- kubernetes-csi-approvers
5-
- jingxu97
6-
- yuxiangqian
7-
8-
reviewers:
9-
- kubernetes-csi-reviewers
10-
- jingxu97
11-
- yuxiangqian
12-
13-
emeritus_approvers:
14-
- wackxu
2+
- openshift-storage-maintainers
3+
component: "Storage / Kubernetes External Components"

OWNERS_ALIASES

Lines changed: 0 additions & 1 deletion
This file was deleted.

OWNERS_ALIASES

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
aliases:
2+
openshift-storage-maintainers:
3+
- jsafrane
4+
- tsmetana
5+
- gnufied
6+
- bertinatto
7+
- dobsonj
8+
- RomanBednar
9+
- mpatlasov

0 commit comments

Comments
 (0)