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 5, 2024
1 parent 39e4391 commit 2384360
Show file tree
Hide file tree
Showing 14 changed files with 45 additions and 204 deletions.
4 changes: 4 additions & 0 deletions .ci-operator.yaml
@@ -0,0 +1,4 @@
build_root_image:
name: release
namespace: openshift
tag: rhel-9-release-golang-1.21-openshift-4.16
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.

21 changes: 0 additions & 21 deletions .github/dependabot.yaml

This file was deleted.

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

This file was deleted.

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

This file was deleted.

6 changes: 6 additions & 0 deletions .snyk
@@ -0,0 +1,6 @@
# References:
# https://docs.snyk.io/scan-applications/snyk-code/using-snyk-code-from-the-cli/excluding-directories-and-files-from-the-snyk-code-cli-test
# https://docs.snyk.io/snyk-cli/commands/ignore
exclude:
global:
- vendor/**
8 changes: 8 additions & 0 deletions Dockerfile.openshift
@@ -0,0 +1,8 @@
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.21-openshift-4.16 AS builder
WORKDIR /go/src/github.com/kubernetes-csi/external-snapshotter
COPY . .
RUN make build

FROM registry.ci.openshift.org/ocp/4.16:base-rhel9
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
@@ -0,0 +1,8 @@
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.21-openshift-4.16 AS builder
WORKDIR /go/src/github.com/kubernetes-csi/external-snapshotter
COPY . .
RUN make build

FROM registry.ci.openshift.org/ocp/4.16:base-rhel9
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
@@ -0,0 +1,8 @@
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.21-openshift-4.16 AS builder
WORKDIR /go/src/github.com/kubernetes-csi/external-snapshotter
COPY . .
RUN make build

FROM registry.ci.openshift.org/ocp/4.16:base-rhel9
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
@@ -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 / Kubernetes External Components"
1 change: 0 additions & 1 deletion OWNERS_ALIASES

This file was deleted.

9 changes: 9 additions & 0 deletions OWNERS_ALIASES
@@ -0,0 +1,9 @@
aliases:
openshift-storage-maintainers:
- jsafrane
- tsmetana
- gnufied
- bertinatto
- dobsonj
- RomanBednar
- mpatlasov

0 comments on commit 2384360

Please sign in to comment.