Skip to content

Commit

Permalink
Add expected labels to static images (knative-extensions#1262)
Browse files Browse the repository at this point in the history
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
Co-authored-by: Pierangelo Di Pilato <pierdipi@redhat.com>
  • Loading branch information
openshift-cherrypick-robot and pierDipi authored Sep 18, 2024
1 parent a7d9b10 commit d226f01
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions openshift/ci-operator/static-images/dispatcher/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,17 @@ EXPOSE 8080 8778 9779

USER 185

LABEL \
com.redhat.component="openshift-serverless-1-eventing-kafka-broker-dispatcher-rhel8-container" \
name="openshift-serverless-1/eventing-kafka-broker-dispatcher-rhel8" \
version=$VERSION \
summary="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Dispatcher" \
maintainer="serverless-support@redhat.com" \
description="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Dispatcher" \
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Dispatcher" \
io.k8s.description="Red Hat OpenShift Serverless Eventing Kafka Broker Dispatcher" \
io.openshift.tags=Dispatcher

COPY --from=builder /app /app

ENTRYPOINT ["java", "-jar", "/app/app.jar"]
11 changes: 11 additions & 0 deletions openshift/ci-operator/static-images/receiver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,17 @@ EXPOSE 8080 8778 9779

USER 185

LABEL \
com.redhat.component="openshift-serverless-1-eventing-kafka-broker-receiver-rhel8-container" \
name="openshift-serverless-1/eventing-kafka-broker-receiver-rhel8" \
version=$VERSION \
summary="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Receiver" \
maintainer="serverless-support@redhat.com" \
description="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Receiver" \
io.k8s.display-name="Red Hat OpenShift Serverless 1 Eventing Kafka Broker Receiver" \
io.k8s.description="Red Hat OpenShift Serverless Eventing Kafka Broker Receiver" \
io.openshift.tags=Receiver

COPY --from=builder /app /app

ENTRYPOINT ["java", "-jar", "/app/app.jar"]

0 comments on commit d226f01

Please sign in to comment.