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]>
  • Loading branch information
sxd authored Dec 19, 2024
1 parent bc55791 commit b897b44
Show file tree
Hide file tree
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
Expand Up @@ -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"
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile-ubi8
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile-ubi9
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b897b44

Please sign in to comment.