Skip to content

Commit

Permalink
chore: add missing labels in container images (cloudnative-pg#6377)
Browse files Browse the repository at this point in the history
The operator was missing a label "maintainer" for certifications
and also for standards, it was relying on having the label from
the parent image.

Signed-off-by: Jonathan Gonzalez V. <[email protected]>
(cherry picked from commit b897b44)
sxd committed Dec 19, 2024

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent 8c5a4ba commit 1ecf1b4
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -12,14 +12,16 @@ ARG VERSION="dev"
ARG TARGETARCH

ENV SUMMARY="CloudNativePG Operator Container Image." \
DESCRIPTION="This Docker image contains CloudNativePG Operator."
DESCRIPTION="This Docker image contains CloudNativePG Operator." \
MAINTAINER="CloudNativePG Contributors."

LABEL summary="$SUMMARY" \
description="$DESCRIPTION" \
io.k8s.display-name="$SUMMARY" \
io.k8s.description="$DESCRIPTION" \
name="CloudNativePG Operator" \
vendor="CloudNativePG Contributors" \
vendor="$MAINTAINER" \
maintainer="$MAINTAINER" \
url="https://cloudnative-pg.io/" \
version="$VERSION" \
release="1"
6 changes: 4 additions & 2 deletions Dockerfile-ubi8
Original file line number Diff line number Diff line change
@@ -3,14 +3,16 @@ ARG VERSION="dev"
ARG TARGETARCH

ENV SUMMARY="CloudNativePG Operator Container Image." \
DESCRIPTION="This Docker image contains CloudNativePG Operator."
DESCRIPTION="This Docker image contains CloudNativePG Operator." \
MAINTAINER="CloudNativePG Contributors."

LABEL summary="$SUMMARY" \
description="$DESCRIPTION" \
io.k8s.display-name="$SUMMARY" \
io.k8s.description="$DESCRIPTION" \
name="CloudNativePG Operator" \
vendor="CloudNativePG Contributors" \
vendor="$MAINTAINER" \
maintainer="$MAINTAINER" \
url="https://cloudnative-pg.io/" \
version="$VERSION" \
release="1"
6 changes: 4 additions & 2 deletions Dockerfile-ubi9
Original file line number Diff line number Diff line change
@@ -3,14 +3,16 @@ ARG VERSION="dev"
ARG TARGETARCH

ENV SUMMARY="CloudNativePG Operator Container Image." \
DESCRIPTION="This Docker image contains CloudNativePG Operator."
DESCRIPTION="This Docker image contains CloudNativePG Operator." \
MAINTAINER="CloudNativePG Contributors."

LABEL summary="$SUMMARY" \
description="$DESCRIPTION" \
io.k8s.display-name="$SUMMARY" \
io.k8s.description="$DESCRIPTION" \
name="CloudNativePG Operator" \
vendor="CloudNativePG Contributors" \
vendor="$MAINTAINER" \
maintainer="$MAINTAINER" \
url="https://cloudnative-pg.io/" \
version="$VERSION" \
release="1"

0 comments on commit 1ecf1b4

Please sign in to comment.