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 Apr 9, 2024
1 parent ee9e390 commit 1344ab7
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 90 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-9-release-golang-1.21-openshift-4.16
40 changes: 0 additions & 40 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

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

This file was deleted.

6 changes: 6 additions & 0 deletions .snyk
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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-resizer
COPY . .
RUN make build

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

FROM registry.svc.ci.openshift.org/ocp/4.7:base
COPY --from=builder /go/src/github.com/kubernetes-csi/external-resizer/bin/csi-resizer /usr/bin/
ENTRYPOINT ["/usr/bin/csi-resizer"]
11 changes: 2 additions & 9 deletions OWNERS
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- kubernetes-csi-approvers
- gnufied
- mlmhl

reviewers:
- kubernetes-csi-reviewers

# emeritus_reviewers:
# - mlmhl
- 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
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
aliases:
openshift-storage-maintainers:
- jsafrane
- tsmetana
- gnufied
- bertinatto
- dobsonj
- RomanBednar
- mpatlasov

0 comments on commit 1344ab7

Please sign in to comment.