Uploaded image for project: 'Network Edge'
  1. Network Edge
  2. NE-2076

Make container image labels dynamic

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • None
    • None
    • None
    • NI&D Sprint 276, NI&D Sprint 277

      The objective of this story is to dynamically populate specific metadata labels in the container images (operator, controller, bundle) instead of hardcoding their values. This helps improve traceability and alignment with best practices for container image metadata.

      Labels to include (not exhaustive):

      • Commit ID
      • Version
      • Commit URL

      These labels should be dynamically injected during the image build process.

      To ensure consistency and completeness, we should align the set of labels with those provided in the most recent CPaaS release. The CPaaS implementation can serve as a reference point for both the choice of labels and their format. Caveat: unlike CPaaS, the bundle rendering in Konflux does not add labels from metadata/annotations.yaml to the bundle Containerfile. We have to make sure the metadata labels are present in the bundle Containerfile, this part can be static though (at least for the moment).

      Useful links

              rh-ee-alsyed Ali Syed
              alebedev@redhat.com Andrey Lebedev
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: