forked from knative-extensions/eventing-kafka-broker
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dispatcherPodLister and run make generate-release
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
- Loading branch information
Showing
32 changed files
with
665 additions
and
358 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
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
35 changes: 24 additions & 11 deletions
35
openshift/ci-operator/knative-images/event_display/Dockerfile
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 |
---|---|---|
@@ -1,20 +1,33 @@ | ||
# DO NOT EDIT! Generated Dockerfile for vendor/knative.dev/eventing/cmd/event_display. | ||
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder | ||
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 | ||
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal | ||
|
||
FROM $GO_BUILDER as builder | ||
|
||
COPY . . | ||
|
||
RUN mkdir -p /var/run/ko && \ | ||
mkdir -p vendor/knative.dev/eventing/cmd/event_display/kodata && \ | ||
go build -o /usr/bin/main ./vendor/knative.dev/eventing/cmd/event_display && \ | ||
cp -r vendor/knative.dev/eventing/cmd/event_display/kodata /var/run/ko | ||
ENV CGO_ENABLED=1 | ||
ENV GOEXPERIMENT=strictfipsruntime | ||
|
||
RUN go build -tags strictfipsruntime -o /usr/bin/main ./vendor/knative.dev/eventing/cmd/event_display | ||
|
||
FROM registry.access.redhat.com/ubi8/ubi-minimal | ||
FROM $GO_RUNTIME | ||
|
||
# install the missing zoneinfo to ubi-minimal | ||
RUN microdnf install tzdata | ||
ARG VERSION=knative-v1.14 | ||
|
||
COPY --from=builder /usr/bin/main /usr/bin/event_display | ||
|
||
USER 65532 | ||
|
||
COPY --from=builder /usr/bin/main /usr/bin/main | ||
COPY --from=builder /var/run/ko /var/run/ko | ||
ENTRYPOINT ["/usr/bin/main"] | ||
LABEL \ | ||
com.redhat.component="openshift-serverless-1-eventing-kafka-broker-event-display-rhel8-container" \ | ||
name="openshift-serverless-1/eventing-kafka-broker-event-display-rhel8" \ | ||
version=$VERSION \ | ||
summary="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Event Display" \ | ||
maintainer="serverless-support@redhat.com" \ | ||
description="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Event Display" \ | ||
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Event Display" \ | ||
io.k8s.description="Red Hat OpenShift Serverless Eventing Kafka Broker Event Display" \ | ||
io.openshift.tags="event-display" | ||
|
||
ENTRYPOINT ["/usr/bin/event_display"] |
35 changes: 24 additions & 11 deletions
35
openshift/ci-operator/knative-images/heartbeats/Dockerfile
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 |
---|---|---|
@@ -1,20 +1,33 @@ | ||
# DO NOT EDIT! Generated Dockerfile for vendor/knative.dev/eventing/cmd/heartbeats. | ||
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder | ||
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 | ||
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal | ||
|
||
FROM $GO_BUILDER as builder | ||
|
||
COPY . . | ||
|
||
RUN mkdir -p /var/run/ko && \ | ||
mkdir -p vendor/knative.dev/eventing/cmd/heartbeats/kodata && \ | ||
go build -o /usr/bin/main ./vendor/knative.dev/eventing/cmd/heartbeats && \ | ||
cp -r vendor/knative.dev/eventing/cmd/heartbeats/kodata /var/run/ko | ||
ENV CGO_ENABLED=1 | ||
ENV GOEXPERIMENT=strictfipsruntime | ||
|
||
RUN go build -tags strictfipsruntime -o /usr/bin/main ./vendor/knative.dev/eventing/cmd/heartbeats | ||
|
||
FROM registry.access.redhat.com/ubi8/ubi-minimal | ||
FROM $GO_RUNTIME | ||
|
||
# install the missing zoneinfo to ubi-minimal | ||
RUN microdnf install tzdata | ||
ARG VERSION=knative-v1.14 | ||
|
||
COPY --from=builder /usr/bin/main /usr/bin/heartbeats | ||
|
||
USER 65532 | ||
|
||
COPY --from=builder /usr/bin/main /usr/bin/main | ||
COPY --from=builder /var/run/ko /var/run/ko | ||
ENTRYPOINT ["/usr/bin/main"] | ||
LABEL \ | ||
com.redhat.component="openshift-serverless-1-eventing-kafka-broker-heartbeats-rhel8-container" \ | ||
name="openshift-serverless-1/eventing-kafka-broker-heartbeats-rhel8" \ | ||
version=$VERSION \ | ||
summary="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Heartbeats" \ | ||
maintainer="serverless-support@redhat.com" \ | ||
description="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Heartbeats" \ | ||
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Heartbeats" \ | ||
io.k8s.description="Red Hat OpenShift Serverless Eventing Kafka Broker Heartbeats" \ | ||
io.openshift.tags="heartbeats" | ||
|
||
ENTRYPOINT ["/usr/bin/heartbeats"] |
35 changes: 24 additions & 11 deletions
35
openshift/ci-operator/knative-images/kafka-controller/Dockerfile
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 |
---|---|---|
@@ -1,20 +1,33 @@ | ||
# DO NOT EDIT! Generated Dockerfile for control-plane/cmd/kafka-controller. | ||
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder | ||
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 | ||
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal | ||
|
||
FROM $GO_BUILDER as builder | ||
|
||
COPY . . | ||
|
||
RUN mkdir -p /var/run/ko && \ | ||
mkdir -p control-plane/cmd/kafka-controller/kodata && \ | ||
go build -o /usr/bin/main ./control-plane/cmd/kafka-controller && \ | ||
cp -r control-plane/cmd/kafka-controller/kodata /var/run/ko | ||
ENV CGO_ENABLED=1 | ||
ENV GOEXPERIMENT=strictfipsruntime | ||
|
||
RUN go build -tags strictfipsruntime -o /usr/bin/main ./control-plane/cmd/kafka-controller | ||
|
||
FROM registry.access.redhat.com/ubi8/ubi-minimal | ||
FROM $GO_RUNTIME | ||
|
||
# install the missing zoneinfo to ubi-minimal | ||
RUN microdnf install tzdata | ||
ARG VERSION=knative-v1.14 | ||
|
||
COPY --from=builder /usr/bin/main /usr/bin/kafka-controller | ||
|
||
USER 65532 | ||
|
||
COPY --from=builder /usr/bin/main /usr/bin/main | ||
COPY --from=builder /var/run/ko /var/run/ko | ||
ENTRYPOINT ["/usr/bin/main"] | ||
LABEL \ | ||
com.redhat.component="openshift-serverless-1-eventing-kafka-broker-kafka-controller-rhel8-container" \ | ||
name="openshift-serverless-1/eventing-kafka-broker-kafka-controller-rhel8" \ | ||
version=$VERSION \ | ||
summary="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Kafka Controller" \ | ||
maintainer="serverless-support@redhat.com" \ | ||
description="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Kafka Controller" \ | ||
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Kafka Controller" \ | ||
io.k8s.description="Red Hat OpenShift Serverless Eventing Kafka Broker Kafka Controller" \ | ||
io.openshift.tags="kafka-controller" | ||
|
||
ENTRYPOINT ["/usr/bin/kafka-controller"] |
35 changes: 24 additions & 11 deletions
35
openshift/ci-operator/knative-images/kafka-source-controller/Dockerfile
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 |
---|---|---|
@@ -1,20 +1,33 @@ | ||
# DO NOT EDIT! Generated Dockerfile for control-plane/cmd/kafka-source-controller. | ||
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder | ||
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 | ||
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal | ||
|
||
FROM $GO_BUILDER as builder | ||
|
||
COPY . . | ||
|
||
RUN mkdir -p /var/run/ko && \ | ||
mkdir -p control-plane/cmd/kafka-source-controller/kodata && \ | ||
go build -o /usr/bin/main ./control-plane/cmd/kafka-source-controller && \ | ||
cp -r control-plane/cmd/kafka-source-controller/kodata /var/run/ko | ||
ENV CGO_ENABLED=1 | ||
ENV GOEXPERIMENT=strictfipsruntime | ||
|
||
RUN go build -tags strictfipsruntime -o /usr/bin/main ./control-plane/cmd/kafka-source-controller | ||
|
||
FROM registry.access.redhat.com/ubi8/ubi-minimal | ||
FROM $GO_RUNTIME | ||
|
||
# install the missing zoneinfo to ubi-minimal | ||
RUN microdnf install tzdata | ||
ARG VERSION=knative-v1.14 | ||
|
||
COPY --from=builder /usr/bin/main /usr/bin/kafka-source-controller | ||
|
||
USER 65532 | ||
|
||
COPY --from=builder /usr/bin/main /usr/bin/main | ||
COPY --from=builder /var/run/ko /var/run/ko | ||
ENTRYPOINT ["/usr/bin/main"] | ||
LABEL \ | ||
com.redhat.component="openshift-serverless-1-eventing-kafka-broker-kafka-source-controller-rhel8-container" \ | ||
name="openshift-serverless-1/eventing-kafka-broker-kafka-source-controller-rhel8" \ | ||
version=$VERSION \ | ||
summary="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Kafka Source Controller" \ | ||
maintainer="serverless-support@redhat.com" \ | ||
description="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Kafka Source Controller" \ | ||
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Kafka Source Controller" \ | ||
io.k8s.description="Red Hat OpenShift Serverless Eventing Kafka Broker Kafka Source Controller" \ | ||
io.openshift.tags="kafka-source-controller" | ||
|
||
ENTRYPOINT ["/usr/bin/kafka-source-controller"] |
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 |
---|---|---|
@@ -1,20 +1,33 @@ | ||
# DO NOT EDIT! Generated Dockerfile for vendor/knative.dev/pkg/apiextensions/storageversion/cmd/migrate. | ||
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder | ||
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 | ||
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal | ||
|
||
FROM $GO_BUILDER as builder | ||
|
||
COPY . . | ||
|
||
RUN mkdir -p /var/run/ko && \ | ||
mkdir -p vendor/knative.dev/pkg/apiextensions/storageversion/cmd/migrate/kodata && \ | ||
go build -o /usr/bin/main ./vendor/knative.dev/pkg/apiextensions/storageversion/cmd/migrate && \ | ||
cp -r vendor/knative.dev/pkg/apiextensions/storageversion/cmd/migrate/kodata /var/run/ko | ||
ENV CGO_ENABLED=1 | ||
ENV GOEXPERIMENT=strictfipsruntime | ||
|
||
RUN go build -tags strictfipsruntime -o /usr/bin/main ./vendor/knative.dev/pkg/apiextensions/storageversion/cmd/migrate | ||
|
||
FROM registry.access.redhat.com/ubi8/ubi-minimal | ||
FROM $GO_RUNTIME | ||
|
||
# install the missing zoneinfo to ubi-minimal | ||
RUN microdnf install tzdata | ||
ARG VERSION=knative-v1.14 | ||
|
||
COPY --from=builder /usr/bin/main /usr/bin/migrate | ||
|
||
USER 65532 | ||
|
||
COPY --from=builder /usr/bin/main /usr/bin/main | ||
COPY --from=builder /var/run/ko /var/run/ko | ||
ENTRYPOINT ["/usr/bin/main"] | ||
LABEL \ | ||
com.redhat.component="openshift-serverless-1-eventing-kafka-broker-migrate-rhel8-container" \ | ||
name="openshift-serverless-1/eventing-kafka-broker-migrate-rhel8" \ | ||
version=$VERSION \ | ||
summary="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Migrate" \ | ||
maintainer="serverless-support@redhat.com" \ | ||
description="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Migrate" \ | ||
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Migrate" \ | ||
io.k8s.description="Red Hat OpenShift Serverless Eventing Kafka Broker Migrate" \ | ||
io.openshift.tags="migrate" | ||
|
||
ENTRYPOINT ["/usr/bin/migrate"] |
35 changes: 24 additions & 11 deletions
35
openshift/ci-operator/knative-images/post-install/Dockerfile
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 |
---|---|---|
@@ -1,20 +1,33 @@ | ||
# DO NOT EDIT! Generated Dockerfile for control-plane/cmd/post-install. | ||
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder | ||
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 | ||
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal | ||
|
||
FROM $GO_BUILDER as builder | ||
|
||
COPY . . | ||
|
||
RUN mkdir -p /var/run/ko && \ | ||
mkdir -p control-plane/cmd/post-install/kodata && \ | ||
go build -o /usr/bin/main ./control-plane/cmd/post-install && \ | ||
cp -r control-plane/cmd/post-install/kodata /var/run/ko | ||
ENV CGO_ENABLED=1 | ||
ENV GOEXPERIMENT=strictfipsruntime | ||
|
||
RUN go build -tags strictfipsruntime -o /usr/bin/main ./control-plane/cmd/post-install | ||
|
||
FROM registry.access.redhat.com/ubi8/ubi-minimal | ||
FROM $GO_RUNTIME | ||
|
||
# install the missing zoneinfo to ubi-minimal | ||
RUN microdnf install tzdata | ||
ARG VERSION=knative-v1.14 | ||
|
||
COPY --from=builder /usr/bin/main /usr/bin/post-install | ||
|
||
USER 65532 | ||
|
||
COPY --from=builder /usr/bin/main /usr/bin/main | ||
COPY --from=builder /var/run/ko /var/run/ko | ||
ENTRYPOINT ["/usr/bin/main"] | ||
LABEL \ | ||
com.redhat.component="openshift-serverless-1-eventing-kafka-broker-post-install-rhel8-container" \ | ||
name="openshift-serverless-1/eventing-kafka-broker-post-install-rhel8" \ | ||
version=$VERSION \ | ||
summary="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Post Install" \ | ||
maintainer="serverless-support@redhat.com" \ | ||
description="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Post Install" \ | ||
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Post Install" \ | ||
io.k8s.description="Red Hat OpenShift Serverless Eventing Kafka Broker Post Install" \ | ||
io.openshift.tags="post-install" | ||
|
||
ENTRYPOINT ["/usr/bin/post-install"] |
35 changes: 24 additions & 11 deletions
35
openshift/ci-operator/knative-images/webhook-kafka/Dockerfile
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 |
---|---|---|
@@ -1,20 +1,33 @@ | ||
# DO NOT EDIT! Generated Dockerfile for control-plane/cmd/webhook-kafka. | ||
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 as builder | ||
ARG GO_BUILDER=registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.22-openshift-4.17 | ||
ARG GO_RUNTIME=registry.access.redhat.com/ubi8/ubi-minimal | ||
|
||
FROM $GO_BUILDER as builder | ||
|
||
COPY . . | ||
|
||
RUN mkdir -p /var/run/ko && \ | ||
mkdir -p control-plane/cmd/webhook-kafka/kodata && \ | ||
go build -o /usr/bin/main ./control-plane/cmd/webhook-kafka && \ | ||
cp -r control-plane/cmd/webhook-kafka/kodata /var/run/ko | ||
ENV CGO_ENABLED=1 | ||
ENV GOEXPERIMENT=strictfipsruntime | ||
|
||
RUN go build -tags strictfipsruntime -o /usr/bin/main ./control-plane/cmd/webhook-kafka | ||
|
||
FROM registry.access.redhat.com/ubi8/ubi-minimal | ||
FROM $GO_RUNTIME | ||
|
||
# install the missing zoneinfo to ubi-minimal | ||
RUN microdnf install tzdata | ||
ARG VERSION=knative-v1.14 | ||
|
||
COPY --from=builder /usr/bin/main /usr/bin/webhook-kafka | ||
|
||
USER 65532 | ||
|
||
COPY --from=builder /usr/bin/main /usr/bin/main | ||
COPY --from=builder /var/run/ko /var/run/ko | ||
ENTRYPOINT ["/usr/bin/main"] | ||
LABEL \ | ||
com.redhat.component="openshift-serverless-1-eventing-kafka-broker-webhook-kafka-rhel8-container" \ | ||
name="openshift-serverless-1/eventing-kafka-broker-webhook-kafka-rhel8" \ | ||
version=$VERSION \ | ||
summary="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Webhook Kafka" \ | ||
maintainer="serverless-support@redhat.com" \ | ||
description="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Webhook Kafka" \ | ||
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Webhook Kafka" \ | ||
io.k8s.description="Red Hat OpenShift Serverless Eventing Kafka Broker Webhook Kafka" \ | ||
io.openshift.tags="webhook-kafka" | ||
|
||
ENTRYPOINT ["/usr/bin/webhook-kafka"] |
Oops, something went wrong.