Skip to content

Commit b18c02f

Browse files
committed
UPSTREAM: <carry>: Add OpenShift files
1 parent ab9dc3c commit b18c02f

File tree

5 files changed

+32
-57
lines changed

5 files changed

+32
-57
lines changed

.ci-operator.yaml

+4
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-8-release-golang-1.19-openshift-4.13

Dockerfile.openshift

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.19-openshift-4.13 AS builder
2+
WORKDIR /go/src/github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver
3+
COPY . .
4+
# Skip Windows driver build
5+
RUN make gce-pd-driver
6+
7+
FROM registry.ci.openshift.org/ocp/4.13:base
8+
9+
# Get all deps
10+
# nvme-cli and /usr/bin/xxd are deps of google_nvme_id
11+
RUN yum update -y && \
12+
yum install --setopt=tsflags=nodocs -y e2fsprogs xfsprogs util-linux systemd-udev nvme-cli /usr/bin/xxd && \
13+
yum clean all && rm -rf /var/cache/yum/* && \
14+
mkdir -p /lib/udev_containerized && cp /usr/lib/udev/scsi_id /lib/udev_containerized/scsi_id # The driver assumes this path
15+
16+
COPY --from=builder /go/src/github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/bin/gce-pd-csi-driver /usr/bin/
17+
COPY --from=builder /go/src/github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/deploy/kubernetes/udev/google_nvme_id /lib/udev_containerized/google_nvme_id
18+
ENTRYPOINT ["/usr/bin/gce-pd-csi-driver"]

OWNERS

+3-13
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
reviewers:
2-
- davidz627
3-
- jingxu97
4-
- mattcary
5-
- msau42
6-
- saad-ali
7-
- saikat-royc
81
approvers:
9-
- davidz627
10-
- jingxu97
11-
- mattcary
12-
- msau42
13-
- saad-ali
14-
- saikat-royc
2+
- openshift-storage-maintainers
3+
component: "Storage"
4+
subcomponent: Kubernetes External Components
+6-36
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,7 @@
1-
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md
2-
31
aliases:
4-
5-
# SIG-Storage chairs and leads should always have approval rights in all repos.
6-
# Others may be added as needed here or in each repo.
7-
kubernetes-csi-approvers:
8-
- jsafrane
9-
- msau42
10-
- saad-ali
11-
- xing-yang
12-
13-
# Reviewers are automatically assigned to new PRs. The following
14-
# reviewers will be active in all repos. Other reviewers can be
15-
# added in each repo.
16-
#
17-
# Reviewers are encouraged to set the "Busy" flag in their GitHub status
18-
# when they are temporarily unable to review PRs.
19-
kubernetes-csi-reviewers:
20-
- andyzhangx
21-
- chrishenzie
22-
- ggriffiths
23-
- gnufied
24-
- humblec
25-
- j-griffith
26-
- Jiawei0227
27-
- jingxu97
28-
- jsafrane
29-
- pohly
30-
- xing-yang
31-
32-
# This documents who previously contributed to Kubernetes-CSI
33-
# as approver.
34-
emeritus_approvers:
35-
- lpabon
36-
- sbezverk
37-
- vladimirvivien
2+
openshift-storage-maintainers:
3+
- jsafrane
4+
- tsmetana
5+
- gnufied
6+
- bertinatto
7+
- dobsonj

release-tools/OWNERS

-8
This file was deleted.

release-tools/OWNERS

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../OWNERS

0 commit comments

Comments
 (0)