Skip to content
This repository was archived by the owner on May 24, 2023. It is now read-only.

Commit 4b4b9c8

Browse files
committed
Add labels and licenses to openshift.Dockerfile for certification (#134)
1 parent 22a4f2c commit 4b4b9c8

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ bundle-build: ## Build the bundle image.
170170
docker build -f bundle.Dockerfile -t $(BUNDLE_IMG) .
171171

172172
openshift-bundle-build: bundle ## Build the bundle image for OpenShift.
173-
@printf "%s\n" '' 'LABEL com.redhat.openshift.versions="v4.6"' 'LABEL com.redhat.delivery.operator.bundle=true' 'LABEL com.redhat.delivery.backport=true' >> bundle.Dockerfile
173+
@printf "%s\n" '' 'LABEL com.redhat.openshift.versions="v4.5"' 'LABEL com.redhat.delivery.operator.bundle=true' 'LABEL com.redhat.delivery.backport=true' >> bundle.Dockerfile
174174

175175
.PHONY: bundle-push
176176
bundle-push: ## Push the bundle image.

openshift.Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,13 @@ FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
2222
WORKDIR /
2323
COPY --from=builder /workspace/manager .
2424
COPY config/crd/kic ./config/crd/kic
25+
COPY LICENSE /licenses/
26+
27+
LABEL name="NGINX Ingress Operator" \
28+
description="The NGINX Ingress Operator is a Kubernetes/OpenShift component which deploys and manages one or more NGINX/NGINX Plus Ingress Controllers" \
29+
summary="The NGINX Ingress Operator is a Kubernetes/OpenShift component which deploys and manages one or more NGINX/NGINX Plus Ingress Controllers" \
30+
io.openshift.tags="nginx,ingress-controller,ingress,controller,kubernetes,openshift" \
31+
maintainer="NGINX Inc <[email protected]>" \
32+
vendor="NGINX Inc <[email protected]>"
2533

2634
ENTRYPOINT ["/manager"]

0 commit comments

Comments
 (0)