diff --git a/Containerfile.art b/Containerfile.art new file mode 100644 index 00000000..192fd336 --- /dev/null +++ b/Containerfile.art @@ -0,0 +1,31 @@ +FROM registry.redhat.io/ubi9/go-toolset:1.25 AS builder + +WORKDIR /workspace + +COPY go.mod go.mod +COPY go.sum go.sum +COPY vendor vendor + +COPY main.go main.go +COPY api/ api/ +COPY controllers/ controllers/ +COPY pkg/ pkg/ + +RUN CGO_ENABLED=1 GO111MODULE=on go build -a -o manager main.go + +FROM registry.redhat.io/ubi9/ubi-minimal:latest + +LABEL com.redhat.component="quay-bridge-operator-container" +LABEL name="quay/quay-bridge-rhel9-operator" +LABEL io.k8s.display-name="Red Hat Quay Bridge Operator" +LABEL io.k8s.description="Red Hat Quay Bridge Operator image" +LABEL io.openshift.tags="quay" +LABEL summary="Red Hat Quay Bridge Operator" +LABEL description="Red Hat Quay Bridge Operator" +LABEL vendor="Red Hat, Inc." +LABEL maintainer="quay-devel@redhat.com" + +WORKDIR / +COPY --from=builder /workspace/manager . +USER 65532:65532 +ENTRYPOINT ["/manager"] diff --git a/bundle/art.yaml b/bundle/art.yaml new file mode 100644 index 00000000..41917e8d --- /dev/null +++ b/bundle/art.yaml @@ -0,0 +1,10 @@ +--- +updates: + - file: "downstream/manifests/quay-bridge-operator.clusterserviceversion.yaml" + update_list: + - search: "olm.skipRange: \">=3.5.x <3.6.0\"" + replace: "olm.skipRange: \">=3.14.x <3.17.6\"" + - search: "name: quay-bridge-operator.v3.6.0" + replace: "name: quay-bridge-operator.v3.17.6" + - search: "version: 3.6.0" + replace: "version: 3.17.6" diff --git a/bundle/image-references b/bundle/image-references new file mode 100644 index 00000000..147cec89 --- /dev/null +++ b/bundle/image-references @@ -0,0 +1,9 @@ +--- +kind: ImageStream +apiVersion: image.openshift.io/v1 +spec: + tags: + - name: quay-bridge-rhel9-operator + from: + kind: DockerImage + name: registry.redhat.io/quay/quay-bridge-rhel9-operator diff --git a/bundle/quay-bridge-operator.package.yaml b/bundle/quay-bridge-operator.package.yaml new file mode 100644 index 00000000..c21ceadd --- /dev/null +++ b/bundle/quay-bridge-operator.package.yaml @@ -0,0 +1,6 @@ +--- +packageName: quay-bridge-operator +channels: +- name: stable-3.17 + currentCSV: quay-bridge-operator.3.17.6 +defaultChannel: stable-3.17