From 0e9556acbbdf9b5ec65bbecba47b694b8dd1fe2b Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Thu, 13 Jan 2022 10:55:55 -0800 Subject: [PATCH] Update labels for UBI based images (#2354) --- build/Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build/Dockerfile b/build/Dockerfile index c2a5bdc75f..fc5d890bb3 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -135,11 +135,17 @@ RUN yum upgrade -y binutils ############################################# Base image for UBI ############################################# FROM ubi-base-${UBI_VERSION} AS ubi-base +ARG IC_VERSION SHELL ["/bin/bash", "-o", "pipefail", "-c"] LABEL name="NGINX Ingress Controller" \ - description="The Ingress controller is an application that runs in a cluster and configures an HTTP load balancer according to Ingress resources." \ + maintainer="kubernetes@nginx.com" \ + vendor="NGINX Inc" \ + version="${IC_VERSION}" \ + release="1" \ summary="The Ingress controller is an application that runs in a cluster and configures an HTTP load balancer according to Ingress resources." \ + description="The Ingress controller is an application that runs in a cluster and configures an HTTP load balancer according to Ingress resources." \ + io.k8s.description="The NGINX Ingress controller is an application that runs in a cluster and configures an HTTP load balancer according to Ingress resources." \ io.openshift.tags="nginx,ingress-controller,ingress,controller,kubernetes,openshift" RUN microdnf --nodocs install -y shadow-utils ca-certificates \