Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions Containerfile.art
Original file line number Diff line number Diff line change
@@ -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"]
10 changes: 10 additions & 0 deletions bundle/art.yaml
Original file line number Diff line number Diff line change
@@ -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"
9 changes: 9 additions & 0 deletions bundle/image-references
Original file line number Diff line number Diff line change
@@ -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
6 changes: 6 additions & 0 deletions bundle/quay-bridge-operator.package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
packageName: quay-bridge-operator
channels:
- name: stable-3.17
currentCSV: quay-bridge-operator.3.17.6
defaultChannel: stable-3.17
Loading