diff --git a/.ci-operator.yaml b/.ci-operator.yaml new file mode 100644 index 000000000..8cbfaddc8 --- /dev/null +++ b/.ci-operator.yaml @@ -0,0 +1,4 @@ +build_root_image: + name: release + namespace: openshift + tag: rhel-8-release-golang-1.18-openshift-4.11 diff --git a/Dockerfile.openshift b/Dockerfile.openshift new file mode 100644 index 000000000..42e6f590f --- /dev/null +++ b/Dockerfile.openshift @@ -0,0 +1,8 @@ +FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.18-openshift-4.11 AS builder +WORKDIR /go/src/github.com/kubernetes-csi/external-snapshotter +COPY . . +RUN make build + +FROM registry.ci.openshift.org/ocp/4.11:base +COPY --from=builder /go/src/github.com/kubernetes-csi/external-snapshotter/bin/csi-snapshotter /usr/bin/ +ENTRYPOINT ["/usr/bin/csi-snapshotter"] diff --git a/Dockerfile.snapshot-controller.openshift.rhel7 b/Dockerfile.snapshot-controller.openshift.rhel7 new file mode 100644 index 000000000..681259962 --- /dev/null +++ b/Dockerfile.snapshot-controller.openshift.rhel7 @@ -0,0 +1,8 @@ +FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.18-openshift-4.11 AS builder +WORKDIR /go/src/github.com/kubernetes-csi/external-snapshotter +COPY . . +RUN make build + +FROM registry.ci.openshift.org/ocp/4.11:base +COPY --from=builder /go/src/github.com/kubernetes-csi/external-snapshotter/bin/snapshot-controller /usr/bin/ +ENTRYPOINT ["/usr/bin/snapshot-controller"] diff --git a/Dockerfile.webhook.openshift.rhel7 b/Dockerfile.webhook.openshift.rhel7 new file mode 100644 index 000000000..a34d15784 --- /dev/null +++ b/Dockerfile.webhook.openshift.rhel7 @@ -0,0 +1,8 @@ +FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.18-openshift-4.11 AS builder +WORKDIR /go/src/github.com/kubernetes-csi/external-snapshotter +COPY . . +RUN make build + +FROM registry.ci.openshift.org/ocp/4.11:base +COPY --from=builder /go/src/github.com/kubernetes-csi/external-snapshotter/bin/snapshot-validation-webhook /usr/bin/ +ENTRYPOINT ["/usr/bin/snapshot-validation-webhook"] diff --git a/OWNERS b/OWNERS index 79d2b6846..4f5946c7a 100644 --- a/OWNERS +++ b/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" diff --git a/OWNERS_ALIASES b/OWNERS_ALIASES deleted file mode 120000 index 3f60d4615..000000000 --- a/OWNERS_ALIASES +++ /dev/null @@ -1 +0,0 @@ -release-tools/KUBERNETES_CSI_OWNERS_ALIASES \ No newline at end of file diff --git a/OWNERS_ALIASES b/OWNERS_ALIASES new file mode 100644 index 000000000..0b1d6a9c5 --- /dev/null +++ b/OWNERS_ALIASES @@ -0,0 +1,7 @@ +aliases: + openshift-storage-maintainers: + - jsafrane + - tsmetana + - gnufied + - bertinatto + - dobsonj