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 authored and rhrmo committed Oct 2, 2024
1 parent 2f8d8eb commit 1ea43a9
Show file tree
Hide file tree
Showing 9 changed files with 37 additions and 118 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.22-openshift-4.18
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.

33 changes: 0 additions & 33 deletions .github/workflows/trivy.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.ocp
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.22-openshift-4.18 AS builder
WORKDIR /go/src/github.com/kubernetes-csi/livenessprobe
COPY . .
RUN make build

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

FROM registry.svc.ci.openshift.org/openshift/origin-v4.0:base
COPY --from=builder /go/src/github.com/kubernetes-csi/livenessprobe/bin/livenessprobe /usr/bin/
ENTRYPOINT ["/usr/bin/livenessprobe"]
6 changes: 2 additions & 4 deletions OWNERS
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# See the OWNERS docs at https://go.k8s.io/owners

approvers:
- kubernetes-csi-approvers

reviewers:
- kubernetes-csi-reviewers
- 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 1ea43a9

Please sign in to comment.