Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OPENJDK-2145] Update/add usage: labels to UBI8 images #392

Merged
merged 2 commits into from
Sep 14, 2023

Conversation

jmtd
Copy link
Member

@jmtd jmtd commented Sep 6, 2023

https://issues.redhat.com/browse/OPENJDK-2145

Add a usage: label to JDK11-runtime and JDK8-runtime, pointing at https://jboss-container-images.github.io/openjdk/, which is probably the best option for the time being. We don't have specific Red Hat customer documentation for runtime images.

Alter the usage: label for JDK17 to
https://jboss-container-images.github.io/openjdk/, as the old value was for OpenShift 3.x era documentation.

Adjust the usage: label for JDK11 to a fixed URI for the same document (It changed at some point in the past and we didn't notice sooner.)

For all UBI8 images, additionally define a second label org.opencontainers.image.documentation with the same value, following the OpenContainers Spec, Pre-Defined Annotation Keys: https://specs.opencontainers.org/image-spec/annotations/

Add a usage: label to JDK11-runtime and JDK8-runtime, pointing at
<https://jboss-container-images.github.io/openjdk/>, which is
probably the best option for the time being. We don't have specific
Red Hat customer documentation for runtime images.

Alter the usage: label for JDK17 to
<https://jboss-container-images.github.io/openjdk/>, as the old
value was for OpenShift 3.x era documentation.

Adjust the usage: label for JDK11 to a fixed URI for the same
document (It changed at some point in the past and we didn't
notice sooner.)

For all UBI8 images, additionally define a second label
org.opencontainers.image.documentation with the same value, following
the OpenContainers Spec, Pre-Defined Annotation Keys:
<https://specs.opencontainers.org/image-spec/annotations/>

Signed-off-by: Jonathan Dowland <[email protected]>
@jmtd jmtd requested a review from sefroberg September 6, 2023 09:24
ubi8-openjdk-11.yaml Outdated Show resolved Hide resolved
ubi8-openjdk-8.yaml Outdated Show resolved Hide resolved
Use the upstream documentation URI for all images.

Signed-off-by: Jonathan Dowland <[email protected]>
@jmtd jmtd force-pushed the OPENJDK-2145-ubi8-usage-label branch from 526d1cc to ffb7761 Compare September 14, 2023 08:50
@jmtd jmtd merged commit 0a41ced into rh-openjdk:ubi8 Sep 14, 2023
3 of 6 checks passed
@jmtd jmtd deleted the OPENJDK-2145-ubi8-usage-label branch September 14, 2023 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants