-
Notifications
You must be signed in to change notification settings - Fork 164
Override base image's labels #838
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds comprehensive container metadata labels to the Dockerfile to improve discoverability and provide better context for the LGTM Docker image. The changes focus on standardizing the container image labels according to Kubernetes and OCI specifications.
- Adds descriptive labels following Kubernetes (io.k8s.) and OCI (org.opencontainers.image.) naming conventions
- Clears inherited labels from the base image that are not applicable to this image
- Includes TODO comment for future integration with revision and version labels
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Depends on grafana/shared-workflows#1488. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Override container image labels from the base Red Hat image to use appropriate values for LGTM. Resolves #837.
Add some more labels for the image.
Consume changes from grafana/shared-workflows#1471. Signed-off-by: Martin Costello <[email protected]>
Apply custom labels to override base image labels.
057800e to
dcebe67
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
I guess this is going to need merging and releasing to see if it actually works, so... |
|
There's no real changes to release right now, but we should get a OTel Collector update to 0.139.0 soon so we can test it via that. |
Override container image labels from the base Red Hat image to use appropriate values for LGTM.
Resolves #837.