-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Sebastian Sch <[email protected]>
- Loading branch information
Showing
29 changed files
with
1,271 additions
and
1,159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.22-openshift-4.17 AS builder | ||
WORKDIR /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator | ||
COPY . . | ||
RUN make _build-manager BIN_PATH=build/_output/cmd | ||
|
||
FROM registry.ci.openshift.org/ocp/4.17:base-rhel9 | ||
LABEL io.k8s.display-name="OpenShift sriov-network-operator" \ | ||
io.k8s.description="This is the component that manange and config sriov component in Openshift cluster" \ | ||
io.openshift.tags="openshift,networking,sr-iov" \ | ||
com.redhat.delivery.appregistry=true \ | ||
maintainer="Multus team <[email protected]>" | ||
COPY --from=builder /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator/build/_output/cmd/manager /usr/bin/sriov-network-operator | ||
COPY bindata /bindata | ||
ENV OPERATOR_NAME=sriov-network-operator | ||
ENV CLUSTER_TYPE=openshift | ||
CMD ["/usr/bin/sriov-network-operator"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.22-openshift-4.17 AS builder | ||
WORKDIR /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator | ||
COPY . . | ||
RUN make _build-sriov-network-config-daemon BIN_PATH=build/_output/cmd | ||
|
||
FROM registry.ci.openshift.org/ocp/4.17:base-rhel9 | ||
RUN yum -y update && ARCH_DEP_PKGS=$(if [ "$(uname -m)" != "s390x" ]; then echo -n mstflint ; fi) && yum -y install pciutils hwdata $ARCH_DEP_PKGS && yum clean all | ||
LABEL io.k8s.display-name="OpenShift sriov-network-config-daemon" \ | ||
io.k8s.description="This is a daemon that manage and config sriov network devices in Openshift cluster" \ | ||
io.openshift.tags="openshift,networking,sr-iov" \ | ||
maintainer="Multus team <[email protected]>" | ||
COPY --from=builder /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator/build/_output/cmd/sriov-network-config-daemon /usr/bin/ | ||
COPY bindata /bindata | ||
ENV PLUGINSPATH=/plugins | ||
ENV CLUSTER_TYPE=openshift | ||
CMD ["/usr/bin/sriov-network-config-daemon"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.22-openshift-4.17 AS builder | ||
WORKDIR /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator | ||
COPY . . | ||
RUN make _build-webhook BIN_PATH=build/_output/cmd | ||
|
||
FROM registry.ci.openshift.org/ocp/4.17:base-rhel9 | ||
LABEL io.k8s.display-name="OpenShift sriov-network-webhook" \ | ||
io.k8s.description="This is an admission controller webhook that mutates and validates customer resources of sriov network operator." \ | ||
io.openshift.tags="openshift,networking,sr-iov" \ | ||
maintainer="Multus team <[email protected]>" | ||
COPY --from=builder /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator/build/_output/cmd/webhook /usr/bin/webhook | ||
ENV CLUSTER_TYPE=openshift | ||
CMD ["/usr/bin/webhook"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.